mirror of
https://github.com/eclipse/upm.git
synced 2025-10-29 06:05:04 +03:00
grove: Small changes to build grove library
* Removed relay and rotary from grove library
* Removed relay and rotary from grove SWIG interfaces
* Fixed warning for o2 printf %
* Fixed return value warning for _get_normalized method used by
my analog sensors.
Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@@ -59,7 +59,7 @@ int main()
|
||||
o2_get_raw_volts(sensor, &raw_volts);
|
||||
o2_get_value(sensor, &o2_percent);
|
||||
|
||||
printf("O2 raw volts: %0.03f v, o2: %0.03f %\n",
|
||||
printf("O2 raw volts: %0.03f v, o2: %0.03f %%\n",
|
||||
raw_volts, o2_percent);
|
||||
|
||||
usleep(500000);
|
||||
|
||||
Reference in New Issue
Block a user