hi!
Don't comment that out. It will not work then.
The reason for this ugly hack is the following:
If you call core functions like malloc/fopen/LockMainPower etc from the original sd300 kbd task they do not work
or even cause crashes (lock/unloack mainpower for example)
So what i did is the following:
- i created a second task
- the original kbd task just sets a flag instead of calling gui kbd process things or script things (important: scrip_start needs to call lockmainpower!)
So without this scripts might not work or do strange things (i dont know what else script start does)
I just tested your build: It doesnt boot
If i put it on a locked sd the card power led doesnt even turn on.
If i do it manually as fw update the screen goes black and thats it.
Whats the difference between trunk and your (?) branch ?
- the second thread checks for the flag and calls the gui stuff and script start etc.
So if you remove it it will no longer work