mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 00:17:39 +00:00
battery display imp (#2327)
Some checks failed
Nightly Release / Check latest commit (push) Successful in 1m18s
Nightly Release / build (push) Failing after 5m12s
Some checks failed
Nightly Release / Check latest commit (push) Successful in 1m18s
Nightly Release / build (push) Failing after 5m12s
This commit is contained in:
@@ -192,7 +192,7 @@ void I2cDev_MAX17055::update() {
|
||||
getBatteryInfo(validity, batteryPercentage, voltage, current);
|
||||
|
||||
// send local message
|
||||
BatteryStateMessage msg{validity, batteryPercentage, current >= 0, voltage};
|
||||
BatteryStateMessage msg{validity, batteryPercentage, current >= 25, voltage};
|
||||
EventDispatcher::send_message(msg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user