SensorAPI: Re-adding sensor_read_evt_ctx
This is required for bma253 sensor driver
@@ -275,6 +275,16 @@ struct sensor_notifier {
SLIST_ENTRY(sensor_notifier) sn_next;
};
+/**
+ * Context for sensor read events
+ */
+struct sensor_read_ev_ctx {
+ /* The sensor for which the ev cb should be called */
+ struct sensor *srec_sensor;
+ /* The sensor type */
+ sensor_type_t srec_type;
+};
+
/**
* Sensor type traits list
*/
