light_sensor: update lib filename and fix typo

This commit is contained in:
Filip Ayazi 2022-01-16 21:06:05 +00:00
parent 550c378e3c
commit 48015c716c

View file

@ -10,7 +10,7 @@
#endif
#ifdef LIGHT_SENSOR_ADAFRUIT_ADS1115
#include <Wire.h>
#include <Adafruit_ADS1015.h>
#include <Adafruit_ADS1X15.h>
#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: