diff --git a/firmware/firmware.ino b/firmware/firmware.ino index ddc1d45..aaa62ec 100644 --- a/firmware/firmware.ino +++ b/firmware/firmware.ino @@ -223,6 +223,7 @@ void _loop() { #ifdef HTTP_CALL_ON_WINDSPEED_EXCEED if (HTTP_CALL_ON_WINDSPEED_INTERVAL_S * 1000 / DELAY_LOOP_MS <= update_windspeed_exceed_cnt) { + debug("Reading wind sensor because of exceed call functionality"); if (sensors[SENSOR_WINDSPEED]) { // read from windspeed sensor @@ -237,6 +238,7 @@ void _loop() { http.end(); // Send HTTP GET request int httpResponseCode = http.GET(); + debug("Called windspeed exceed callout"); } } else { currentSensorData[SENSOR_WINDSPEED] = nan("no value");