1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Merge remote-tracking branch 'remotes/ficeto/esp8266' into esp8266

This commit is contained in:
Markus Sattler
2015-05-03 19:45:35 +02:00

View File

@ -131,7 +131,7 @@ static bool twi_write_byte(unsigned char byte) {
twi_write_bit(byte & 0x80); twi_write_bit(byte & 0x80);
byte <<= 1; byte <<= 1;
} }
return twi_read_bit();//NACK/ACK return !twi_read_bit();//NACK/ACK
} }
static unsigned char twi_read_byte(bool nack) { static unsigned char twi_read_byte(bool nack) {