diff options
Diffstat (limited to 'software/mpu')
-rw-r--r-- | software/mpu/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/software/mpu/main.c b/software/mpu/main.c index d2bfdd9..55df8a8 100644 --- a/software/mpu/main.c +++ b/software/mpu/main.c @@ -112,5 +112,8 @@ int main(void) case MPU_BOOTLOADER: reset2bootloader(); break; case MPU_REBOOT: reboot(); break; } - for(;;); /* halting system, aka loop endlessly */ + + for(;;) { /* halting system, aka loop endlessly */ + port_wait_for_interrupt(); /* power down */ + } } |