mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
Merge PR #454 - fix activation event
Fix issue where the calculator face's user interface display was delayed about a quarter second due to the activation event being a no-op. Tested-by: David Volovskiy <devolov@gmail.com> Reported-by: David Volovskiy <devolov@gmail.com> Fixed-by: David Volovskiy <devolov@gmail.com> Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/454
This commit is contained in:
commit
337864eb54
|
@ -273,8 +273,6 @@ bool simple_calculator_face_loop(movement_event_t event, movement_settings_t *se
|
||||||
|
|
||||||
switch (event.event_type) {
|
switch (event.event_type) {
|
||||||
case EVENT_ACTIVATE:
|
case EVENT_ACTIVATE:
|
||||||
break;
|
|
||||||
|
|
||||||
case EVENT_TICK:
|
case EVENT_TICK:
|
||||||
switch (state->mode) {
|
switch (state->mode) {
|
||||||
case MODE_ENTERING_FIRST_NUM:
|
case MODE_ENTERING_FIRST_NUM:
|
||||||
|
|
Loading…
Reference in a new issue