• Thanks. What constitues a cutting edge firmware?

    In terms of the other things i cut down my code to below and put in in timer.boot.js and now it "works" meaning that if i boot my bangle then the code will push the reboot down the line as long as i have not done anything but stay on the default clock.

    But if i boot the bangle, enter the launcher, go back to the default clock or boot the bangle and use the ~2 sec button push to reload the clock then the code will not work.
    Can it be true that some of these actions will kill boot code or maybe just clear any intervals?

    In timer.boot.js
    let wdKc;
    let wdBw;
    if (wdBw) {
      clearInterval(wdBw);
      wdBw=0;
    }
    wdKc=0;
    wdBw = setInterval(function () {
      
      if (BTN.read()) {
        if (wdKc < 3) {
    		E.kickWatchdog();
    		wdKc++;
    	}
      } else {
    	  wdKc = 0;
      }
    }, 4000);
    
About

Avatar for AskHolme @AskHolme started