Skip to content
Snippets Groups Projects
Commit 7a2a7d9b authored by Adrian Schneider's avatar Adrian Schneider
Browse files

fix(light_sensor) unify enable var for module

parent 12018d5d
No related branches found
No related tags found
No related merge requests found
Pipeline #1361 passed
......@@ -44,4 +44,4 @@ const mp_obj_module_t light_sensor_module = {
};
/* clang-format off */
MP_REGISTER_MODULE(MP_QSTR_light_sensor, light_sensor_module, MODULE_AMBIENT_ENABLED);
MP_REGISTER_MODULE(MP_QSTR_light_sensor, light_sensor_module, MODULE_LIGHT_SENSOR_ENABLED);
......@@ -37,7 +37,7 @@
#define MODULE_UTIME_ENABLED (1)
#define MODULE_LEDS_ENABLED (1)
#define MODULE_VIBRA_ENABLED (1)
#define MODULE_AMBIENT_ENABLED (1)
#define MODULE_LIGHT_SENSOR_ENABLED (1)
/*
* This port is intended to be 32-bit, but unfortunately, int32_t for
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment