ToyKeeper / anduril

Anduril 2 Flashlight Firmware and FSM UI Toolkit
GNU General Public License v3.0
199 stars 48 forks source link

Allow turning off 'use post off voltage' from device configuration #82

Open void-spark opened 3 weeks ago

void-spark commented 3 weeks ago

Hi!

I wanted to turn off the 'use post off voltage' for a certain device in the build entirely. But USE_POST_OFF_VOLTAGE is set after the device configuration files (in battcheck-mode-fsm.h), so #undef'ing it doesn't work :)

I can set the post off seconds to 0 as a workaround, so it's a nice to have at most really :)