diff --git a/src/modules/eeze/sensor/tizen/tizen.c b/src/modules/eeze/sensor/tizen/tizen.c index b22bf63067..603cc7b0f5 100644 --- a/src/modules/eeze/sensor/tizen/tizen.c +++ b/src/modules/eeze/sensor/tizen/tizen.c @@ -769,8 +769,7 @@ eeze_sensor_tizen_sensors_find(void) sensor_type_e type; bool supported = 0; - /* FIXME: Make this safe against changes in the enum. But how? */ - for (type = SENSOR_ACCELEROMETER; type <= SENSOR_MOTION_FACEDOWN; type++) + for (type = SENSOR_ACCELEROMETER; type <= SENSOR_LAST; type++) { sensor_is_supported(type, &supported); if (supported)