diff --git a/pycardium/modules/light_sensor.c b/pycardium/modules/light_sensor.c
index ab7e3cbcdddb12d5dfa2f9e5d94310a7fefeb0a6..f055ef28c5ea7911f86f49f87dfa070514bdc646 100644
--- a/pycardium/modules/light_sensor.c
+++ b/pycardium/modules/light_sensor.c
@@ -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);
diff --git a/pycardium/mpconfigport.h b/pycardium/mpconfigport.h
index f8fbc842dd3153187402c1ab2e7f4d5c653bd846..461e2068f29207a20896c1a8be7d913c0972c30b 100644
--- a/pycardium/mpconfigport.h
+++ b/pycardium/mpconfigport.h
@@ -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