Fix incorrect macro guard in the UC3 EndpointStream header file.
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.h
index 6dedf61..70707da 100644 (file)
@@ -1,6 +1,6 @@
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2011.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
@@ -9,7 +9,7 @@
 /*
   Copyright 2010  David Prentice (david.prentice [at] farming [dot] uk)
   Copyright 2010  Peter Danneger
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -44,7 +44,6 @@
                #include <stdbool.h>
 
                #include "../XPLAINBridge.h"
-               #include "LightweightRingBuff.h"
 
        /* Macros: */
                #define SRX        PD0
@@ -60,8 +59,8 @@
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
 
-                       ICR1 = BitTime;
-                       ICR3 = BitTime;
+                       OCR1A = BitTime;
+                       OCR3A = BitTime;
                }
 
        /* Function Prototypes: */