FreeCalypso > hg > fc-tourmaline
changeset 62:089c1882788c
AT%CBC extended to report Ichg
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Oct 2020 22:37:31 +0000 |
parents | 75067af48bfd |
children | 7c7fe9d0ea7c |
files | src/g23m-aci/aci/ati_fchg.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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; }