Fixed ISR definition conflict in the XPLAIN bridge between the software UART and...
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.h
index d0b03c0..923631b 100644 (file)
   this software.
 */
 
+/** \file
+ *
+ *  Header file for SoftUART.c.
+ */
+
 #ifndef _SOFT_UART_
 #define _SOFT_UART_
 
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
                
-                       OCR1A = BitTime;
-                       OCR3A = BitTime;
+                       ICR1 = BitTime;
+                       ICR3 = BitTime;
                }
 
        /* Function Prototypes: */
-               void    SoftUART_Init(void);
+               void SoftUART_Init(void);
 
 #endif
\ No newline at end of file