Changeset 3663


Ignore:
Timestamp:
May 21, 2013, 6:56:16 AM (2 years ago)
Author:
quozl
Message:

OLPC - do not leave keyboard locked if file cannot be created by save-mfg-data on XO-1.5. #12684.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/olpc/spiflash/spiui.fth

    r3662 r3663  
    144144
    145145: save-mfg-data  ( -- )
    146    flash-open
    147146   make-sn-name                               ( name$ )
    148147   2dup ['] $delete  catch  if  2drop  then   ( name$ )
     
    150149   $create-file                               ( ihandle )
    151150   dup 0= abort" Can't create file"   >r      ( r: ihandle )
     151   flash-open
    152152   mfg-data-buf /flash-block                  ( adr len  r: ihandle )
    153153   2dup mfg-data-offset  flash-read           ( adr len r: ihandle )
Note: See TracChangeset for help on using the changeset viewer.