mirror of https://github.com/arendst/Tasmota.git
commit
875e4972c0
|
@ -202,7 +202,7 @@ uint16_t Si1145ReadHalfWord(uint8_t reg)
|
|||
return I2cRead16LE(SI114X_ADDR, reg);
|
||||
}
|
||||
|
||||
bool Si1145WriteByte(uint8_t reg, uint16_t val)
|
||||
void Si1145WriteByte(uint8_t reg, uint16_t val)
|
||||
{
|
||||
I2cWrite8(SI114X_ADDR, reg, val);
|
||||
}
|
||||
|
|
|
@ -52,7 +52,7 @@ void Tsl2591Init(void)
|
|||
}
|
||||
}
|
||||
|
||||
bool Tsl2591Read(void)
|
||||
void Tsl2591Read(void)
|
||||
{
|
||||
uint32_t lum = tsl.getFullLuminosity();
|
||||
uint16_t ir, full;
|
||||
|
|
Loading…
Reference in New Issue