Changeset 3272
- Timestamp:
- Sep 2, 2012 2:00:26 AM (9 months ago)
- File:
-
- 1 edited
-
cpu/arm/mmp2/rtc.fth (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/mmp2/rtc.fth
r3251 r3272 55 55 alias test4 wakeup-loop 56 56 57 d# -250 constant suspend-power-limit 58 [ifdef] mmp3 59 .( mmp2/rtc.fth: Temporarily increasing suspend-power-limit) cr 60 d# -400 to suspend-power-limit 61 [then] 62 57 63 : s3-selftest ( -- error? ) 58 64 \ The general failure mode here is that it won't wake up, so … … 63 69 ec-rst-pwr ['] cancel-alarm 3 rtc-wake str ec-max-pwr ( power ) 64 70 \ Negative power is consumed from battery, positive is supplied to battery 65 dup d# -250 < if( power )71 dup suspend-power-limit < if ( power ) 66 72 ." System used too much power during suspend - " negate .d ." mW" cr ( ) 67 73 true ( error? )
Note: See TracChangeset
for help on using the changeset viewer.
