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;
@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?
© Espruino, powered by microcosm.
Report a problem