Skip to content

Commit 11b08f9

Browse files
bootloader: update main prototype for NuttX 12.12.0
1 parent 9aa831e commit 11b08f9

File tree

2 files changed

+2
-2
lines changed
  • platforms/nuttx/src/bootloader

2 files changed

+2
-2
lines changed

platforms/nuttx/src/bootloader/nxp/imxrt_common/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ arch_do_jump(const uint32_t *app_base)
694694
}
695695

696696
int
697-
bootloader_main(void)
697+
bootloader_main(int argc, char *argv[])
698698
{
699699
bool try_boot = true; /* try booting before we drop to the bootloader */
700700
unsigned timeout = BOOTLOADER_DELAY; /* if nonzero, drop out of the bootloader after this time */

platforms/nuttx/src/bootloader/stm/stm32_common/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ arch_do_jump(const uint32_t *app_base)
637637
}
638638

639639
int
640-
bootloader_main(void)
640+
bootloader_main(int argc, char *argv[])
641641
{
642642
bool try_boot = true; /* try booting before we drop to the bootloader */
643643
unsigned timeout = BOOTLOADER_DELAY; /* if nonzero, drop out of the bootloader after this time */

0 commit comments

Comments
 (0)