]> git.earman.xyz Git - sensor-watch.git/commit
Fix command line in simulator
authorJames Haggerty <james@gruemail.com>
Tue, 22 Jul 2025 10:37:56 +0000 (20:37 +1000)
committerJoey Castillo <joeycastillo@utexas.edu>
Mon, 28 Jul 2025 13:23:54 +0000 (09:23 -0400)
commit78eb0c0c978997c106fa0aa7c8a350353cd4aa3a
tree14c74df768eb19276e54844f88da9bde56046447
parent39d605204f628d10bc617025006b57eabb7164bf
Fix command line in simulator

In the original movement, the 'usb enabled' check was overridden
to true for the simulator such that shell_task() would always
be executed. In the new 'dummy' device in gossamer used by the
simulator, this usb check returns false.

Seemed like a slightly cleaner thing to do was to call
shell_task() regardless rather than to incorrectly
pretend that USB was connected.
movement.c