diff --git a/startup.s b/startup.s index 5cd3d0260..59a87e1af 100644 --- a/startup.s +++ b/startup.s @@ -33,8 +33,8 @@ reset_handler: // enter the application code bl main - // loop forever if the application code returns - b . + // shutdown if the application code returns + b shutdown .global shutdown .type shutdown, STT_FUNC