Browse Source

Fix type mismatch in SHT3X I2C sensor

fastled
Xose Pérez 7 years ago
parent
commit
1206fa5a71
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/sensors/SHT3XI2CSensor.h

+ 1
- 1
code/espurna/sensors/SHT3XI2CSensor.h View File

@ -77,7 +77,7 @@ class SHT3XI2CSensor : public BaseSensor {
// Pre-read hook (usually to populate registers with up-to-date data)
void pre() {
unsigned int buffer[6];
unsigned char buffer[6];
#if I2C_USE_BRZO
buffer[0] = 0x2C;


Loading…
Cancel
Save