Changeset 2281
- Timestamp:
- Jun 15, 2011 7:36:02 AM (2 years ago)
- File:
-
- 1 edited
-
dev/olpc/kb3700/battery.fth (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dev/olpc/kb3700/battery.fth
r2179 r2281 8 8 9 9 \ Names try to match the variable names in EC code 10 11 h# F780 constant ec-bProcessOneWireIndex 12 h# F7CF constant ec-bHDQ_ACCESS_FLAG2 13 10 14 h# FA00 constant ec-rambase 11 15 h# 01 constant ec-pwr_limit 12 16 h# 09 constant ec-va2 13 17 h# 20 constant ec-platformID 18 h# A5 constant ec-mBAT_STATUS 14 19 15 20 h# FC00 constant ec-gpiobase … … 522 527 until 523 528 drop 529 ; 530 531 \ Instruct the EC to completely reset the battery 532 \ subsystem. (XO-1 F series EC code) 533 534 : (bat-reset) ( -- ) 535 1 ec-bHDQ_ACCESS_FLAG2 ec! 536 4 ec-bProcessOneWireIndex ec! 524 537 ; 525 538 … … 711 724 drop 712 725 bat-disable-charge 726 ; 727 728 : bat-reset 729 batman-init? 730 (bat-reset) 731 batman-stop 713 732 ; 714 733
Note: See TracChangeset
for help on using the changeset viewer.
