Skip to content

Commit 7b12ae8

Browse files
committed
Rename target_debug_init() to debug_init()
1 parent 2126f7b commit 7b12ae8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static bool valid_application() {
107107

108108
}
109109

110-
int target_debug_init(void) {
110+
static int debug_init(void) {
111111
RTCInit();
112112
debug_enabled = ((RTCGetBKPRegister(RTC_BKP_DR7) & 0x00000001) || boot_sel);
113113
return 0;
@@ -202,7 +202,7 @@ int start_secure_application(void) {
202202
}
203203

204204
int main(void) {
205-
target_debug_init();
205+
debug_init();
206206

207207
BOOT_LOG_INF("Starting Arduino bootloader");
208208

0 commit comments

Comments
 (0)