From 52c76f758595100a12cb41ea47287ce44ba7adf7 Mon Sep 17 00:00:00 2001 From: Sarah GLINER Date: Thu, 12 Oct 2023 10:28:53 +0200 Subject: [PATCH] boot.c: fix build for master sdk --- src/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot.c b/src/boot.c index 3af1be47..afe705de 100644 --- a/src/boot.c +++ b/src/boot.c @@ -77,7 +77,7 @@ __attribute__((section(".boot"))) int main(arg0) { #ifdef BAKING_APP io_seproxyhal_power_off( -#if defined API_LEVEL && API_LEVEL > 10 +#if defined API_LEVEL && (API_LEVEL == 0 || API_LEVEL > 10) false #endif ); // Should not be allowed dashboard access