Changeset 3543


Ignore:
Timestamp:
Feb 12, 2013, 6:19:52 AM (2 years ago)
Author:
quozl
Message:

OLPC ARM - dcon, power cycle on hang, fix for #12377.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/olpc/dcon/mmp2dcon.fth

    r3521 r3543  
    101101: delta-ms  ( start-time -- elapsed-ms )  mark-time  swap -   ;
    102102
     103defer dcon-unjam
    103104: wait-output  ( -- )
    104105   mark-time                                            ( start-time )
     
    117118   until                                                ( start-time )
    118119   drop                                                 ( )
    119    ." Timeout leaving DCON mode" cr                     ( )
    120120   scanint-off                                          ( )
     121   dcon-unjam
    121122;
    122123
     
    137138   until                                ( start-time )
    138139   drop
    139    ." Timeout entering DCON mode" cr
    140    \ We say false here because we don't want to retry; it probably won't succeed
     140   dcon-unjam
    141141   false
    142142;
     
    294294   saved-brightness bright!
    295295;
     296: (dcon-unjam)  dcon-suspend  d# 10 ms  dcon-resume  ;
     297' (dcon-unjam)  to dcon-unjam
    296298
    297299end-package
Note: See TracChangeset for help on using the changeset viewer.