nasa-jpl / jsd

Just SOEM Drivers
Other
18 stars 15 forks source link

Fix persistent halt command #102

Closed preston-rogers closed 9 months ago

preston-rogers commented 9 months ago

This pull request is a follow up of the previous pull request for fix-persistent-halt-command.

This pull request solves the problem using a flag that ensures that the ELMO has time to switch to operation enabled before processing halt commands.

Thus far, this implementation is untested.

preston-rogers commented 9 months ago

@d-loret Regarding this implementation, I am only concerned with what the value of "enabling_operation" would be at initialization of the state struct. By default, I believe booleans are undefined by value. Would this be an issue?