Yes - I realised I could cut and paste the code in github online without having to pull locally - and this would create a pull request.
@opichals made a good point on the pull request Comment - the mux should be initialsed.
portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
https://github.com/espruino/Espruino/pull/1285
@jumjum can you add this to your branch/local code? Otherwise we will loose on master when we merge.
I'm not sure if anyone has tried the code yet to see if this actuall fixes the setwatch issue?
@Wilberforce 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.
Yes - I realised I could cut and paste the code in github online without having to pull locally - and this would create a pull request.
@opichals made a good point on the pull request Comment - the mux should be initialsed.
portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
https://github.com/espruino/Espruino/pull/1285
@jumjum can you add this to your branch/local code?
Otherwise we will loose on master when we merge.
I'm not sure if anyone has tried the code yet to see if this actuall fixes the setwatch issue?