From 48015c716c6db476d63435ad302e6e518dbf3e02 Mon Sep 17 00:00:00 2001 From: Filip Ayazi Date: Sun, 16 Jan 2022 21:06:05 +0000 Subject: [PATCH] light_sensor: update lib filename and fix typo --- src/modules/light_sensor/light_sensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: