ETHZ-TEC / RocketLogger

Official development repository of the RocketLogger project.
https://github.com/ETHZ-TEC/RocketLogger/wiki
BSD 3-Clause "New" or "Revised" License
14 stars 4 forks source link

Rocketlogger service does not terminate on ADC reference calibration failure #50

Closed lsigrist closed 2 years ago

lsigrist commented 2 years ago

When the initial ADC reference calibration fails after reboot or reset of the RocketLogger hardware (e.g. #36 or forced by wrong pin configuration) the rocketlogger service does not early terminate, but enters default operation mode. However, the starting a successful measurement is not possible in such a case.

Termination on start up errors is required for automatic service restart, to retry the initial setup procedure and eventually succeed.

lsigrist commented 2 years ago

fix verified using 0c130acc253016cbfdb2ce165c65869fd52762dc