I had seen that technique in another module and just blindly copied it
Do you remember which one? That would be a bug in the module if so.
@Gordon started
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.
Do you remember which one? That would be a bug in the module if so.