sensor-watch/watch-library/simulator
Victor Graf 5b212a4423
Fix simulator and hardware divergence in callback handling (#252)
When using the simulator, I encountered cases where the light would become stuck on, and the watch
would be unresponsive. In particular, this would occur when pressing the light button on the
sunrise sunset watch face.

I appears that this is caused by a divergence in out the callback mask is interpreted by the
hardware interface, and in the simulator in the following function.

void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask)

In particular, a mask of 0xFE is intended to disable all except the 128hz callback at index 0,
but instead disables all except the 1hz callback at index 7 in the simulator.
2023-11-18 23:10:45 -05:00
..
hpl/port Sensor Watch Simulator (#35) 2022-01-25 15:03:22 -05:00
watch Fix simulator and hardware divergence in callback handling (#252) 2023-11-18 23:10:45 -05:00
main.c add delay_ms function for simulator 2022-10-11 22:11:58 -05:00
shell.html simulator: add tiny element in the lower left corner for the first display position. 2023-02-25 15:24:32 +01:00