Fix compilation warning in co2_sa_kxx-sensor.c

This commit is contained in:
Robert Olsson 2016-05-15 16:23:29 +02:00
parent 18876a1fae
commit 868f100366

View file

@ -112,7 +112,7 @@ value(int var)
status = i2c_readAck();
if(status & 0x01 == 0)
if((status & 0x01) == 0)
goto err;
buf[0] = i2c_readAck();