projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve documentation for the ADC and TWI drivers.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Peripheral
/
TWI.c
diff --git
a/LUFA/Drivers/Peripheral/TWI.c
b/LUFA/Drivers/Peripheral/TWI.c
index
7986679
..
9e0c20d
100644
(file)
--- a/
LUFA/Drivers/Peripheral/TWI.c
+++ b/
LUFA/Drivers/Peripheral/TWI.c
@@
-17,7
+17,7
@@
bool TWI_StartTransmission(uint8_t SlaveAddress, uint8_t TimeoutMS)
TWCR = ((1 << TWINT) | (1 << TWSTA) | (1 << TWEN));
\r
\r
TimeoutRemaining = (TimeoutMS * 100);
\r
- while (TimeoutRemaining-- && !
BusCaptured
)
\r
+ while (TimeoutRemaining-- && !
(BusCaptured)
)
\r
{
\r
if (TWCR & (1 << TWINT))
\r
{
\r