aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/XPLAINBridge/Lib/SoftUART.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/XPLAINBridge/Lib/SoftUART.h')
-rw-r--r--Projects/XPLAINBridge/Lib/SoftUART.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Projects/XPLAINBridge/Lib/SoftUART.h b/Projects/XPLAINBridge/Lib/SoftUART.h
index 7203b3a0d..923631b50 100644
--- a/Projects/XPLAINBridge/Lib/SoftUART.h
+++ b/Projects/XPLAINBridge/Lib/SoftUART.h
@@ -30,6 +30,11 @@
this software.
*/
+/** \file
+ *
+ * Header file for SoftUART.c.
+ */
+
#ifndef _SOFT_UART_
#define _SOFT_UART_
@@ -55,8 +60,8 @@
{
uint16_t BitTime = ((F_CPU / Baud) - 1);
- OCR1A = BitTime;
- OCR3A = BitTime;
+ ICR1 = BitTime;
+ ICR3 = BitTime;
}
/* Function Prototypes: */