mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-27 06:04:46 -07:00
Update temperature_sensor.c
This commit is contained in:
@@ -259,7 +259,7 @@ int32_t temperature_sensor_app(void* p) {
|
|||||||
// Blink blue
|
// Blink blue
|
||||||
notification_message(notifications, &sequence_blink_blue_100);
|
notification_message(notifications, &sequence_blink_blue_100);
|
||||||
|
|
||||||
if (celsius != TS_DEFAULT_VALUE && humidity != TS_DEFAULT_VALUE)) {
|
if (celsius != TS_DEFAULT_VALUE && humidity != TS_DEFAULT_VALUE) {
|
||||||
|
|
||||||
// Convert celsius to fahrenheit
|
// Convert celsius to fahrenheit
|
||||||
fahrenheit = (celsius * 9 / 5) + 32;
|
fahrenheit = (celsius * 9 / 5) + 32;
|
||||||
|
|||||||
Reference in New Issue
Block a user