Skip to content

Commit 137d067

Browse files
false still counts as enabled -_-
1 parent efcf545 commit 137d067

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SimpleApp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ int main()
5151
// then mark the update as successful. Here we let the user press a button.
5252
tr_info("Press the button to confirm, or reboot to revert the update");
5353

54-
while (DEMO_BUTTON_IS_PRESSED)
54+
while(!DEMO_BUTTON_IS_PRESSED)
5555
{
5656
ThisThread::sleep_for(10ms);
5757
}

mbed_app.json5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"mcuboot.log-level": "MCUBOOT_LOG_LEVEL_DEBUG",
2424
"mbed-trace.enable": true,
2525

26-
// Change to true to enable encryption of the image
27-
"mcuboot.encrypt-rsa": false
26+
// Uncomment to enable encryption of the image
27+
// "mcuboot.encrypt-rsa": true
2828
},
2929
// "NRF52840_DK": {
3030
// "demo-button-active-low": true,

0 commit comments

Comments
 (0)