# HG changeset patch # User Mychaela Falconia # Date 1514579919 0 # Node ID 0937521ec2f41acd1a213635960fcecd9e702a66 # Parent 886f65760d09d9395b06cdcac4fe76a6ab46c5eb compile-fc-chg: changes for FCHG v2 diff -r 886f65760d09 -r 0937521ec2f4 ffstools/newcomp/compile-fc-chg.c --- a/ffstools/newcomp/compile-fc-chg.c Mon Dec 18 21:00:46 2017 +0000 +++ b/ffstools/newcomp/compile-fc-chg.c Fri Dec 29 20:38:39 2017 +0000 @@ -25,15 +25,25 @@ unsigned set_value; int is_set; } settings[] = { - {"start-delay", 0, 0, 0, 0, 0, 0}, - {"start-threshold", 1, 1, 1, 0, 0, 0}, - {"restart-threshold", 0, 1, 1, 0, 0, 0}, - {"charge-to-voltage", 0, 0, 1, 0, 0, 0}, - {"overvoltage", 0, 0, 0, 0xFFFF, 0, 0}, - {"ci-current", 0, 0, 1, 0, 0, 0}, - {"end-current", 0, 0, 1, 0, 0, 0}, - {"i2v-offset", 0, 0, 0, 0, 0, 0}, - {0, 0, 0, 0, 0, 0, 0} + {"start-delay", 0, 0, 0, 0, 0, 0}, + {"start-threshold", 1, 1, 1, 0, 0, 0}, + {"restart-threshold", 0, 1, 1, 0, 0, 0}, + {"ci2cv-threshold", 0, 0, 1, 0, 0, 0}, + {"cv-initial-setpoint", 0, 0, 1, 0, 0, 0}, + {"cv-ctrl-loop-high", 0, 0, 1, 0, 0, 0}, + {"cv-ctrl-loop-low", 0, 0, 1, 0, 0, 0}, + {"cv-dac-max-incr", 0, 0, 1, 0, 0, 0}, + {"cv-dac-max-decr", 0, 0, 1, 0, 0, 0}, + {"cv-ctrl-loop-sample-count", 0, 0, 1, 0, 0, 0}, + {"overvoltage", 0, 0, 0, 0xFFFF, 0, 0}, + {"ci-current", 0, 0, 1, 0, 0, 0}, + {"end-current", 0, 0, 1, 0, 0, 0}, + {"ichg-max-spike", 0, 0, 0, 0x400, 0, 0}, + {"ichg-low-samples-needed", 0, 0, 1, 0, 0, 0}, + {"charging-time-limit", 0, 0, 0, 0xFFFF, 0, 0}, + {"restart-delay", 0, 0, 0, 0, 0, 0}, + {"i2v-offset", 0, 0, 0, 0, 0, 0}, + {0, 0, 0, 0, 0, 0, 0} }; static void