• Hi.

    I am trying to fiddle proof a bangle.Js 2 as i want to use it for various reminders for my 4 year old.

    As part of that i would really like to control for how long a interval one must hold the button before a reboot is triggered as the default one seems quite low for my situation.

    I have however some difficulties locating the actual code triggering the reboot.
    I can locate the firmware code in https://github.com/espruino/Espruino/blo­b/912aecb676c78e8fc0282775b46c7ad48c428a­30/targets/nrf5x_dfu/main.c where nrf_dfu_enter_check seems to be running directly after the reboot (controlling if we boot without loading code etc.)

    But what i need is really the trigger for the reboot. I have also looked in the bangle JS code but to no avail. There seems to be a E.Reboot function which trigges the reboot, but i fail to see anythign calling that.

    Can someone help on where the trigger code for a reboot is?

About

Avatar for AskHolme @AskHolme started