Fix compilation warning in co2_sa_kxx-sensor.c
This commit is contained in:
parent
18876a1fae
commit
868f100366
|
@ -112,7 +112,7 @@ value(int var)
|
|||
|
||||
status = i2c_readAck();
|
||||
|
||||
if(status & 0x01 == 0)
|
||||
if((status & 0x01) == 0)
|
||||
goto err;
|
||||
|
||||
buf[0] = i2c_readAck();
|
||||
|
|
Loading…
Reference in a new issue