diff --git a/platformio.ini b/platformio.ini index 3d1cec5..b6a6e21 100644 --- a/platformio.ini +++ b/platformio.ini @@ -12,7 +12,6 @@ [platformio] default_envs = NUCLEO-F103RE-ch4-aht-ap - #RB: not all drivers will fit [env:NUCLEO-F103RB] platform = ststm32 @@ -252,7 +251,7 @@ default_envs = NUCLEO-F103RE-ch4-aht-ap build_unflags = -O2 # -std=gnu++17 #build_unflags = -std=gnu++11 - board_build.f_cpu = 64000000Lg + board_build.f_cpu = 64000000L lib_deps = ; git@github.com:ZavenArra/ModularSensors.git#stm32f1 https://github.com/ZavenArra/ModularSensors.git#stm32f1 diff --git a/src/sensors/drivers/registry.cpp b/src/sensors/drivers/registry.cpp index 302e080..f126560 100644 --- a/src/sensors/drivers/registry.cpp +++ b/src/sensors/drivers/registry.cpp @@ -46,7 +46,6 @@ void buildDriverSensorMap() #ifdef RRIV_RGB setupSensorMaps(ATLAS_RGB_SENSOR, F(RGB_DRIVER_TYPE_STRING)); // 4848 bytes #endif - #ifdef RRIV_AHT setupSensorMaps(ADAFRUIT_AHTX0_SENSOR, F(ADAFRUIT_AHTX0_TYPE_STRING)); #endif