mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
remove duplicate definition of getTemperature, introduced through merges
This commit is contained in:
parent
be774c028b
commit
f4132e359e
1 changed files with 0 additions and 10 deletions
10
src/main.cpp
10
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()
|
void onButtonPress()
|
||||||
{
|
{
|
||||||
config.begin("dmx", true);
|
config.begin("dmx", true);
|
||||||
|
@ -460,9 +453,6 @@ void setup()
|
||||||
Serial.print(result);
|
Serial.print(result);
|
||||||
Serial.println(" °C");
|
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("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("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());
|
Serial.printf("ChipRevision %d, Cpu Freq %d, SDK Version %s\n", ESP.getChipRevision(), ESP.getCpuFreqMHz(), ESP.getSdkVersion());
|
||||||
|
|
Loading…
Add table
Reference in a new issue