diff --git a/src/modules/light_sensor/light_sensor.cpp b/src/modules/light_sensor/light_sensor.cpp index b74eef4..0ba3613 100644 --- a/src/modules/light_sensor/light_sensor.cpp +++ b/src/modules/light_sensor/light_sensor.cpp @@ -10,7 +10,7 @@ #endif #ifdef LIGHT_SENSOR_ADAFRUIT_ADS1115 #include -#include +#include #endif const struct Command light_sensor_commands[] = { @@ -138,7 +138,7 @@ void print_light_sensor_gain() { // Print the current gain value of the light sensor Serial.print(F("light sensor gain ")); - adsGain_t gain = ads.getGain() M; + adsGain_t gain = ads.getGain(); switch (gain) { case GAIN_TWOTHIRDS: