For the sake of brevity - it looks like there are quite a few constants that are not used!
You could also shorten - COMMAND_xx to say C_xxx.
@Gordon - does the google closure compiler automatically do this - can the code above get passed through and then re-pretty printed to make it human readable again?
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.
For the sake of brevity - it looks like there are quite a few constants that are not used!
You could also shorten -
COMMAND_xx
to sayC_xxx
.@Gordon - does the google closure compiler automatically do this - can the code above get passed through and then re-pretty printed to make it human readable again?