diff options
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ccs811.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/ccs811.cc b/src/driver/ccs811.cc index cd8956c..77e3f8f 100644 --- a/src/driver/ccs811.cc +++ b/src/driver/ccs811.cc @@ -63,7 +63,7 @@ void CCS811::setEnv(unsigned char humi, unsigned char humi_fraction, unsigned ch void CCS811::setEnv(float humi, float temp) { - setEnv(humi * 2, 0, (temp - 25) * 2, 0); + setEnv(humi * 2, 0, (temp + 25) * 2, 0); } unsigned char CCS811::getStatus() |