X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/f64e3db07ac167bf0b64bf429a53721f1848e91d..55d7e1e65bccd6b4c44802cf971f39eb05e6e57a:/Projects/XPLAINBridge/Lib/SoftUART.h?ds=sidebyside 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