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()
8
8
boot_set_confirmed ();
9
9
}
10
10
11
- void MCUboot::applyUpdate (int permanent)
11
+ void MCUboot::applyUpdate (bool permanent)
12
12
{
13
- boot_set_pending (permanent);
13
+ boot_set_pending (permanent == true ? 1 : 0 );
14
14
}
15
15
16
- void MCUboot::bootDebug (int enable)
16
+ void MCUboot::bootDebug (bool enable)
17
17
{
18
18
unsigned int rtc_reg = STM32H747::readBackupRegister (RTCBackup::DR7);
19
19
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ class MCUboot
6
6
7
7
public:
8
8
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);
11
11
12
12
};
13
13
You can’t perform that action at this time.
0 commit comments