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

Commit

Permalink
Merge pull request #64 from LedgerHQ/xch/cherry-pick-io_seproxyhal_po…
Browse files Browse the repository at this point in the history
…wer_off

Fix io seproxyhal power off syscall params
  • Loading branch information
xchapron-ledger authored Jul 18, 2023
2 parents 40a8a0b + 9e0d91b commit 2cd7b7a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ __attribute__((section(".boot"))) int main(arg0) {

// Only reached in case of uncaught exception
#ifdef BAKING_APP
io_seproxyhal_power_off(); // 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

0 comments on commit 2cd7b7a

Please sign in to comment.