Brilliant!!!! That did the trick. I did the following according to the location of the saved code:
flash.erasePage((120 - 3) * 4096)
flash.erasePage((120 - 2) * 4096)
flash.erasePage((120 - 1) * 4096)
And now everything is back to normal. Thanks a lot!
Maybe some "eraseCode" function might be helpful. Unless it's there and I just overlooked it like the "load" function.
© Espruino, powered by microcosm.
Report a problem