mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +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:
@ -94,6 +94,7 @@ upm_result_t emg_get_normalized(const emg_context dev, float *value)
|
||||
*value = mraa_aio_read_float(dev->aio);
|
||||
if (*value < 0)
|
||||
return UPM_ERROR_OPERATION_FAILED;
|
||||
return UPM_SUCCESS;
|
||||
}
|
||||
|
||||
upm_result_t emg_get_raw_volts(const emg_context dev, float *value)
|
||||
|
Reference in New Issue
Block a user