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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/XPLAINBridge/Lib/SoftUART.h b/Projects/XPLAINBridge/Lib/SoftUART.h
index a9401da10..a685a6d8f 100644
--- a/Projects/XPLAINBridge/Lib/SoftUART.h
+++ b/Projects/XPLAINBridge/Lib/SoftUART.h
@@ -43,7 +43,7 @@
/* Macros: */
#define BAUD 9600
- #define BIT_TIME (uint16_t)((F_CPU + (BAUD / 2.0f)) / BAUD)
+ #define BIT_TIME ((F_CPU + (BAUD / 2)) / BAUD)
#define SRX PD0
#define SRXPIN PIND