diff --git a/src/boot.c b/src/boot.c index eea3f340..bd7ad3fc 100644 --- a/src/boot.c +++ b/src/boot.c @@ -74,7 +74,12 @@ __attribute__((section(".boot"))) int main(arg0) { // Only reached in case of uncaught exception #ifdef BAKING_APP - io_seproxyhal_power_off(false); // Should not be allowed dashboard access + + io_seproxyhal_power_off( +#if defined API_LEVEL && API_LEVEL > 10 + false +#endif + ); // Should not be allowed dashboard access #else exit_app(); #endif