Not sure if I stumbled upon something, but it appears as though a function call jshSetDeviceInitialised() is called inside the initConsole, but it is not within initSerial(). Does that explain why only console works as expected?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Not sure if I stumbled upon something, but it appears as though a function call jshSetDeviceInitialised() is called inside the initConsole, but it is not within initSerial(). Does that explain why only console works as expected?
https://github.com/espruino/Espruino/commit/5dda6ae105a686d62f88ba05ad3e2f08276cf79f#commitcomment-32900869