X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1c407b9669c0658ee9eb8b188818135ea04215e4..8de31cbb78f98eb4d3c5b7232e85337b15f294e5:/Projects/XPLAINBridge/Lib/SoftUART.h diff --git a/Projects/XPLAINBridge/Lib/SoftUART.h b/Projects/XPLAINBridge/Lib/SoftUART.h index a685a6d8f..a107d48a8 100644 --- a/Projects/XPLAINBridge/Lib/SoftUART.h +++ b/Projects/XPLAINBridge/Lib/SoftUART.h @@ -43,7 +43,7 @@ /* Macros: */ #define BAUD 9600 - #define BIT_TIME ((F_CPU + (BAUD / 2)) / BAUD) + #define BIT_TIME ((F_CPU / BAUD) - 1) #define SRX PD0 #define SRXPIN PIND