Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

boot: fix only for API_LEVEL > 10 #62

Merged
merged 1 commit into from
Jun 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down