Clean up include, autoboot, split windows, shorten start.
Drop startup timeout to 100ms. Clean up exceptions in include. Cleanup stack in autoboot. Split out windows into a second string, to work around overflow issue.
This commit is contained in:
@ -25,8 +25,10 @@ internals definitions
|
||||
( Check for autoexec.fs and run if present.
|
||||
Failing that, try to revive save image. )
|
||||
: autoexec
|
||||
300 for key? if rdrop exit then 10 ms next
|
||||
s" /spiffs/autoexec.fs" ['] included catch 2drop drop
|
||||
( Allow skip start files if key hit within 100 ms )
|
||||
10 for key? if rdrop exit then 10 ms next
|
||||
s" /spiffs/autoexec.fs" 2dup file-exists?
|
||||
if included else 2drop then
|
||||
['] revive catch drop ;
|
||||
' autoexec ( leave on the stack for fini.fs )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user