Skip to content

Commit dc41079

Browse files
committed
Renamed board init function.
1 parent 4e839b1 commit dc41079

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/boards/boards.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ bool button_pressed(uint32_t pin)
6363
}
6464

6565
// This is declared so that a board specific init can be called from here.
66-
void __attribute__((weak)) extern_board_init(void) { }
66+
void __attribute__((weak)) board_init_extra(void) { }
6767
void board_init(void)
6868
{
6969
// stop LF clock just in case we jump from application without reset

src/boards/challenger_840_ble/pinconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const uint32_t bootloaderConfig[] =
1919
/* CF2 END */
2020
};
2121

22-
void extern_board_init(void)
22+
void board_init_extra(void)
2323
{
2424
// Turn LDO on
2525
nrf_gpio_cfg_output(LDO_CONTROL_PIN);

0 commit comments

Comments
 (0)