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:
@ -131,7 +131,7 @@ static bool twi_write_byte(unsigned char byte) {
|
||||
twi_write_bit(byte & 0x80);
|
||||
byte <<= 1;
|
||||
}
|
||||
return twi_read_bit();//NACK/ACK
|
||||
return !twi_read_bit();//NACK/ACK
|
||||
}
|
||||
|
||||
static unsigned char twi_read_byte(bool nack) {
|
||||
|
Reference in New Issue
Block a user