mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 17:15:33 +00:00
Added default temp of 25C in simulator
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user