sensor: add full-scale attribute
Add enum value for full-scale attribute, so we can implement runtime alteration if needed. Change-Id: Ib71b4cac6e8841e3f082c07ee75939d1c51209b4 Signed-off-by: Murtaza Alexandru <alexandru.murtaza@intel.com>
This commit is contained in:
parent
9d4c6507e4
commit
2e31980e81
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ enum sensor_attribute {
|
|||
SENSOR_ATTR_SLOPE_DUR,
|
||||
/** Oversampling factor */
|
||||
SENSOR_ATTR_OVERSAMPLING,
|
||||
/** Full-scale value. */
|
||||
SENSOR_ATTR_FULL_SCALE,
|
||||
};
|
||||
|
||||
typedef void (*sensor_trigger_handler_t)(struct device *dev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue