Fix compilation warning in co2_sa_kxx-sensor.c
This commit is contained in:
parent
18876a1fae
commit
868f100366
1 changed files with 1 additions and 1 deletions
|
@ -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