Author: rsmith Date: Tue Apr 12 05:36:31 2011 New Revision: 2184 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2184
Log: * Make watch-mppt output the raw voltage A/D reading
The previous attempt to output a voltage was flawed because the output is non linear.
Modified: dev/olpc/kb3700/batstat.fth
Modified: dev/olpc/kb3700/batstat.fth ============================================================================== --- dev/olpc/kb3700/batstat.fth Tue Apr 5 21:48:04 2011 (r2183) +++ dev/olpc/kb3700/batstat.fth Tue Apr 12 05:36:31 2011 (r2184) @@ -133,7 +133,7 @@ : .mppt mppt-limit@ ( pwr_limit ) vin@ ( pwr_limit VA2 ) - ." Vsa: " d# 14927 * d# 158 / >sd.ddd type ." PWM: " . + ." Vin: " .d ." PWM: " . ;
: watch-mppt ( -- )
openfirmware@openfirmware.info