overthesun / simoc-sam

Back-end system to support SIMOC Live air quality monitor sensor array as used at the SAM Mars habitat analog.
https://samb2.space/
2 stars 1 forks source link

Fix Vernier sensors finalization. #43

Closed ezio-melotti closed 2 years ago

ezio-melotti commented 2 years ago

This PR fixes the Vernier sensors finalization by calling device.close() on exit.

ezio-melotti commented 2 years ago

I can test that and if it works I can add it too, but otherwise this PR seems to fix the problem I was seeing.

ezio-melotti commented 2 years ago

I updated the PR to also call gd.quit() and tested that it works.

granawkins commented 2 years ago

Awesomeo, looks good to me