summaryrefslogtreecommitdiffstats
path: root/movement/shell.c
diff options
context:
space:
mode:
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>2024-03-05 22:03:54 -0300
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>2024-03-08 06:56:55 -0300
commit8bf652f213a0bb157400f67241e9cc421a183ada (patch)
tree4592da292028cdf1ed687baa13f5b73eb8d5b806 /movement/shell.c
parentca40d101d30ef389a1ac49ddc6bcf53c552c088c (diff)
parentb1adbd548eabbf3212e9a53dbb8830d030b15fa7 (diff)
downloadSensor-Watch-8bf652f213a0bb157400f67241e9cc421a183ada.tar.gz
Sensor-Watch-8bf652f213a0bb157400f67241e9cc421a183ada.tar.bz2
Sensor-Watch-8bf652f213a0bb157400f67241e9cc421a183ada.zip
Merge branch 'timeout-event-and-sleep-logic'
Currently, movement drops timeout events in case the previous loop indicates that sleep is not possible. This is due to unintended short circuiting behavior of && and is fixed with a temporary variable. The static qualifier of can_sleep is also removed. Helped-by: Alex Maestas <git@se30.xyz> Tested-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com> Tested-on-hardware-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com> Signed-off-by: Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com> GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/376
Diffstat (limited to 'movement/shell.c')
0 files changed, 0 insertions, 0 deletions