Skip to content

Commit

Permalink
false still counts as enabled -_-
Browse files Browse the repository at this point in the history
  • Loading branch information
multiplemonomials committed Dec 19, 2024
1 parent efcf545 commit 137d067
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimpleApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int main()
// then mark the update as successful. Here we let the user press a button.
tr_info("Press the button to confirm, or reboot to revert the update");

while (DEMO_BUTTON_IS_PRESSED)
while(!DEMO_BUTTON_IS_PRESSED)
{
ThisThread::sleep_for(10ms);
}
Expand Down
4 changes: 2 additions & 2 deletions mbed_app.json5
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"mcuboot.log-level": "MCUBOOT_LOG_LEVEL_DEBUG",
"mbed-trace.enable": true,

// Change to true to enable encryption of the image
"mcuboot.encrypt-rsa": false
// Uncomment to enable encryption of the image
// "mcuboot.encrypt-rsa": true
},
// "NRF52840_DK": {
// "demo-button-active-low": true,
Expand Down

0 comments on commit 137d067

Please sign in to comment.