Added default temp of 25C in simulator

This commit is contained in:
David Volovskiy committed 2025-08-19 08:41:18 -04:00
1 parent 86fd87a326
commit fb6978fde8
1 file changed
+3
+3
View File
@@ -587,6 +587,9 @@ bool movement_set_accelerometer_motion_threshold(uint8_t new_threshold) {
}
float movement_get_temperature(void) {
#if __EMSCRIPTEN__
return 25;
#endif
float temperature_c = (float)0xFFFFFFFF;
if (movement_state.has_thermistor) {