Fixed incorrect byte ordering in the Audio_Device_WriteSample24 function (thanks...
[pub/USBasp.git] / Projects / XPLAINBridge / Lib / SoftUART.h
index 6dedf61..f942623 100644 (file)
@@ -44,7 +44,6 @@
                #include <stdbool.h>
 
                #include "../XPLAINBridge.h"
                #include <stdbool.h>
 
                #include "../XPLAINBridge.h"
-               #include "LightweightRingBuff.h"
 
        /* Macros: */
                #define SRX        PD0
 
        /* Macros: */
                #define SRX        PD0
@@ -60,8 +59,8 @@
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
 
                {
                        uint16_t BitTime = ((F_CPU / Baud) - 1);
 
-                       ICR1 = BitTime;
-                       ICR3 = BitTime;
+                       OCR1A = BitTime;
+                       OCR3A = BitTime;
                }
 
        /* Function Prototypes: */
                }
 
        /* Function Prototypes: */