diff options
author | Alex Maestas <git@se30.xyz> | 2023-12-18 06:41:21 +0000 |
---|---|---|
committer | Alex Maestas <git@se30.xyz> | 2023-12-18 06:41:21 +0000 |
commit | de692e05e243c88cb1bd1c0fabcb0976f6a343d0 (patch) | |
tree | 8e7a7d43417a47c7755c5030f8d1cc002b0a4307 /watch-library/hardware | |
parent | d96d6f9c919816a01a9139adf02a1063289cac27 (diff) | |
download | Sensor-Watch-de692e05e243c88cb1bd1c0fabcb0976f6a343d0.tar.gz Sensor-Watch-de692e05e243c88cb1bd1c0fabcb0976f6a343d0.tar.bz2 Sensor-Watch-de692e05e243c88cb1bd1c0fabcb0976f6a343d0.zip |
make any unknown interrupts/faults reset the microcontroller
Diffstat (limited to 'watch-library/hardware')
-rwxr-xr-x | watch-library/hardware/startup_saml22.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/watch-library/hardware/startup_saml22.c b/watch-library/hardware/startup_saml22.c index f4982564..2d2027f0 100755 --- a/watch-library/hardware/startup_saml22.c +++ b/watch-library/hardware/startup_saml22.c @@ -220,6 +220,5 @@ void Reset_Handler(void) */ void Dummy_Handler(void) { - while (1) { - } + NVIC_SystemReset(); } |