nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ FLOAT_TO_SENSOR_VALUE

#define FLOAT_TO_SENSOR_VALUE ( float_val)

#include <include/caf/caf_sensor_common.h>

Value:
{ \
.val1 = (int32_t)(float_val), \
.val2 = (int32_t)(((float_val) - (int32_t)(float_val)) * \
}
#define FLOAT_TO_SENSOR_VAL_CONST
Definition caf_sensor_common.h:25