diff --git a/include/config.h b/include/config.h index f564341..1c2181f 100644 --- a/include/config.h +++ b/include/config.h @@ -13,5 +13,5 @@ constexpr gpio_num_t wakeupButtonPin = GPIO_NUM_27; // The device also stays awake as long as a bluetooth connection is active constexpr uint32_t wakeupDurationAfterButtonPress = 30; - +// The interval between temperature measurements constexpr uint32_t temperatureMeasurementIntervalSeconds = 60; diff --git a/src/main.cpp b/src/main.cpp index ba61048..d018ae0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -123,10 +123,10 @@ void enableLED() { void setup() { // No need for serial output in production - //Serial.begin(serialBaudRate); + // Serial.begin(serialBaudRate); // LED useless inside case - //enableLED(); + // enableLED(); // Configure button pin to wake up ESP from deep sleep on low signal with pullup rtc_gpio_pullup_en(wakeupButtonPin); @@ -147,7 +147,6 @@ void setup() { // Happens only once per power cycle temperatureConfigure(); - // TODO: Remove Serial.println("Setup complete"); } diff --git a/src/temperature.cpp b/src/temperature.cpp index 1318879..4ac1637 100644 --- a/src/temperature.cpp +++ b/src/temperature.cpp @@ -165,9 +165,6 @@ void temperatureConfigure() { return; } - Serial.print(availableSensorCount); - Serial.println(" temperature sensors available"); - // Write sensor resolution and set limits if (sensorInterface.writeScratchpadAll( TEMPERATURE_ALARM_LIMIT_HIGH,