Merge pull request #9959 from Staars/silence

silence compiler warning
This commit is contained in:
Theo Arends 2020-11-23 15:57:09 +01:00 committed by GitHub
commit 875e4972c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -52,7 +52,7 @@ void Tsl2591Init(void)
}
}
bool Tsl2591Read(void)
void Tsl2591Read(void)
{
uint32_t lum = tsl.getFullLuminosity();
uint16_t ir, full;