FreeCalypso > hg > fc-magnetite
changeset 348:d719315db04a
ati_fchg.c: sprintf % bug
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 16 Dec 2017 00:46:46 +0000 |
parents | 78d1df0b8487 |
children | 09b12bd1b0f2 |
files | src/aci2/aci/ati_fchg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aci2/aci/ati_fchg.c Sat Dec 16 00:37:43 2017 +0000 +++ b/src/aci2/aci/ati_fchg.c Sat Dec 16 00:46:46 2017 +0000 @@ -70,7 +70,7 @@ 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, + sprintf(g_sa, "%%CBC: %d,%d,%d", fchg.chg_state, fchg.batt_mv, fchg.batt_percent); io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); return ATI_CMPL;