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

Check for MCP2221 before setting envvars in the SCD30 driver. #69

Closed ezio-melotti closed 9 months ago

ezio-melotti commented 9 months ago

The sensors/scd30.py sensor driver was missing this check and setting the MCP2221-related vars unconditionally. This PR fixes that.