Adds a global boolean flag, crashed.
Setting this stops systick from toggling the status LED so that the rest of the program can use it as an indicator.
Here, it just allows the assert failure to signal itself to the user.