Short-bus / pilomar

RaspberryPi based miniature observatory
https://shortbus.blog/
GNU General Public License v3.0
63 stars 14 forks source link

When closing down pi-lomar on a fresh build, error trying to write non-existent MotorRunningSeconds to recovery file. #30

Closed Short-bus closed 8 months ago

Short-bus commented 8 months ago

Code from experimental feature still in the released version. The program is trying to write MotorRunningSeconds value for each motor to the position recovery file. This causes the program to loop with the same error when trying to shut down. Remove the rogue references to MotorRunningSeconds and related motor running time calculations.

Short-bus commented 8 months ago

Removed references to MotorRunningSeconds. Also fixed potential permanent looping if writing to recoveryfile failed due to missing attributes.