From f4132e359e9aafb8299345c650296d3cd485e9fd Mon Sep 17 00:00:00 2001 From: RaffaelW Date: Mon, 14 Apr 2025 23:28:09 +0200 Subject: [PATCH] remove duplicate definition of getTemperature, introduced through merges --- src/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 71613f7..4173d24 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -99,13 +99,6 @@ void ledBlink(int ms) } } */ -float getTemperature() -{ - float tempC = -1.0f; - temp_sensor_read_celsius(&tempC); - return tempC; -} - void onButtonPress() { config.begin("dmx", true); @@ -460,9 +453,6 @@ void setup() Serial.print(result); Serial.println(" °C"); - Serial.print(getTemperature()); - Serial.println(" °C"); - Serial.printf("Internal Total heap %d, internal Free Heap %d\n", ESP.getHeapSize(), ESP.getFreeHeap()); Serial.printf("SPIRam Total heap %d, SPIRam Free Heap %d\n", ESP.getPsramSize(), ESP.getFreePsram()); Serial.printf("ChipRevision %d, Cpu Freq %d, SDK Version %s\n", ESP.getChipRevision(), ESP.getCpuFreqMHz(), ESP.getSdkVersion());