Use immediate variable expansion in the second-deepest level makefile scripts to...
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.h
index 9dd81ad..e2492ce 100644 (file)
@@ -1,15 +1,15 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
+     Copyright (C) Dean Camera, 2012.
 
   dean [at] fourwalledcubicle [dot] com
 
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
   Copyright 2010  David Prentice (david.prentice [at] farming [dot] uk)
   Copyright 2010  Peter Danneger
 */
 
 /*
   Copyright 2010  David Prentice (david.prentice [at] farming [dot] uk)
   Copyright 2010  Peter Danneger
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2012  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
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -44,8 +44,8 @@
                #include <stdbool.h>
 
                #include "../XPLAINBridge.h"
                #include <stdbool.h>
 
                #include "../XPLAINBridge.h"
-               #include "LightweightRingBuff.h"
-
+               #include "Config/AppConfig.h"
+               
        /* Macros: */
                #define SRX        PD0
                #define SRXPIN     PIND
        /* Macros: */
                #define SRX        PD0
                #define SRXPIN     PIND
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
 
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
 
-                       ICR1 = BitTime;
-                       ICR3 = BitTime;
+                       OCR1A = BitTime;
+                       OCR3A = BitTime;
                }
 
        /* Function Prototypes: */
                void SoftUART_Init(void);
 
 #endif
                }
 
        /* Function Prototypes: */
                void SoftUART_Init(void);
 
 #endif
+