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:
Murtaza Alexandru 2016-03-10 13:55:47 +02:00 committed by Gerrit Code Review
commit 2e31980e81

View file

@ -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,