]> git.earman.xyz Git - sensor-watch.git/commit
movement: convert can_sleep an automatic variable
authorMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Wed, 6 Mar 2024 00:08:10 +0000 (21:08 -0300)
committerMatheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com>
Wed, 6 Mar 2024 00:08:10 +0000 (21:08 -0300)
commit6ca553e648ff0b4e72520057f1e353759949dcbe
tree0d7ed1d72f35eaaca38d3b6c7adaeaa97bcd8863
parentaf18673e1aa53091880d829a6fa4d7e23a6b4381
movement: convert can_sleep an automatic variable

It is a simple boolean value and its scope is limited to the function.
There is no reason that I can think of for it to be a static variable.
movement/movement.c