pimoroni / enviro

MIT License
105 stars 85 forks source link

Fix warn_led references #32

Closed waveform80 closed 2 years ago

waveform80 commented 2 years ago

The reference to warn_led in main.py needs qualification, as do the references to the WARN_LED_ constants. Without these, main.py crashes on error leaving the board active (and potentially draining any attached battery).

lowfatcode commented 2 years ago

Thank you! This has been fixed in https://github.com/pimoroni/enviro/commit/f078ee1658c8c908b29fe53f16b3b967ccb46213