FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiIcons.c @ 69:77321341946c
first-pass implementation of UI to FCHG connection
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 23 Oct 2020 03:39:22 +0000 |
parents | e9a4b683f697 |
children | 8129ee8ee6c2 |
line wrap: on
line diff
--- a/src/ui/bmi/mmiIcons.c Fri Oct 23 01:59:58 2020 +0000 +++ b/src/ui/bmi/mmiIcons.c Fri Oct 23 03:39:22 2020 +0000 @@ -2391,8 +2391,7 @@ if (batterystatus >= iconBattMax) return 0; - if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND - (globalBatteryMode NEQ GlobalBatteryFull) ) + if (globalBatteryMode == BATT_STATE_CHARGING) { if ( idleIsFocussed() AND battery_charging_animate) { @@ -2434,8 +2433,7 @@ int BattChargeEventTim( MfwEvt e, MfwTim *tc ) { int i; - if( (globalMobileMode & (GlobalMobileOn|GlobalCharging)) AND - (globalBatteryMode NEQ GlobalBatteryFull) ) + if (globalBatteryMode == BATT_STATE_CHARGING) { if (idleIsFocussed() AND battery_charging_animate) {