FreeCalypso > hg > fc-tourmaline
diff src/g23m-aci/aci/ati_fchg.c @ 62:089c1882788c
AT%CBC extended to report Ichg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Oct 2020 22:37:31 +0000 |
parents | fa8dc04885d8 |
children |
line wrap: on
line diff
--- a/src/g23m-aci/aci/ati_fchg.c Thu Oct 22 22:30:49 2020 +0000 +++ b/src/g23m-aci/aci/ati_fchg.c Thu Oct 22 22:37:31 2020 +0000 @@ -70,8 +70,8 @@ TRACE_FUNCTION("atPercentCBC()"); if (fchg_get_current_state(&fchg) != RV_OK) return ATI_FAIL; - sprintf(g_sa, "%%CBC: %d,%d,%d", fchg.chg_state, fchg.batt_mv, - fchg.batt_percent); + sprintf(g_sa, "%%CBC: %d,%d,%d,%d", fchg.chg_state, fchg.batt_mv, + fchg.batt_percent, fchg.ichg); io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); return ATI_CMPL; }