mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-05 05:38:54 +00:00
parent
e3bc5f8bdc
commit
77b71433e5
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
#include "status.h"
|
||||
|
||||
float getTemperature()
|
||||
int getTemperature()
|
||||
{
|
||||
float tempC = -1.0f;
|
||||
temp_sensor_read_celsius(&tempC);
|
||||
return tempC;
|
||||
return static_cast<int>(round(tempC));
|
||||
}
|
||||
|
||||
int8_t getWiFiStrength()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue