mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 02:36:35 +00:00
Fix compile warning
This commit is contained in:
parent
abc460575a
commit
c0965f5624
@ -365,7 +365,7 @@ uint8_t i2c_eeprom_read_uint8_t( uint8_t deviceaddress, uint8_t eeaddress )
|
||||
Wire.write(eeaddress);
|
||||
Wire.endTransmission(false); // false to not release the line
|
||||
|
||||
Wire.requestFrom(deviceaddress,1);
|
||||
Wire.requestFrom(deviceaddress, (uint8_t)1);
|
||||
if (Wire.available()) rdata = Wire.read();
|
||||
return rdata;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user