File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ void MCUboot::confirmSketch()
88 boot_set_confirmed ();
99}
1010
11- void MCUboot::applyUpdate (int permanent)
11+ void MCUboot::applyUpdate (bool permanent)
1212{
13- boot_set_pending (permanent);
13+ boot_set_pending (permanent == true ? 1 : 0 );
1414}
1515
16- void MCUboot::bootDebug (int enable)
16+ void MCUboot::bootDebug (bool enable)
1717{
1818 unsigned int rtc_reg = STM32H747::readBackupRegister (RTCBackup::DR7);
1919
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ class MCUboot
66
77public:
88 static void confirmSketch (void );
9- static void applyUpdate (int permanent);
10- static void bootDebug (int enable);
9+ static void applyUpdate (bool permanent);
10+ static void bootDebug (bool enable);
1111
1212};
1313
You can’t perform that action at this time.
0 commit comments