change SensorQuantityRead with SensorQuantityReadValue for sensor framework
This commit is contained in:
@@ -31,6 +31,6 @@ void Ch4As830(void)
|
||||
{
|
||||
struct SensorQuantity *ch4 = SensorQuantityFind(SENSOR_QUANTITY_AS830_CH4, SENSOR_QUANTITY_CH4);
|
||||
SensorQuantityOpen(ch4);
|
||||
printf("CH4 : %d %%LTL\n", SensorQuantityRead(ch4));
|
||||
printf("CH4 : %d %%LTL\n", SensorQuantityReadValue(ch4));
|
||||
SensorQuantityClose(ch4);
|
||||
}
|
||||
Reference in New Issue
Block a user