projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Reduce prescaler of the flush timer in the USBtoSerial demo, so that buffer overruns...
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
Lib
/
SoftUART.h
diff --git
a/Projects/XPLAINBridge/Lib/SoftUART.h
b/Projects/XPLAINBridge/Lib/SoftUART.h
index
a685a6d
..
a107d48
100644
(file)
--- 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