summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/mboot/ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/stm32/mboot/ui.c b/ports/stm32/mboot/ui.c
index 9924ecd0b..c1fea55da 100644
--- a/ports/stm32/mboot/ui.c
+++ b/ports/stm32/mboot/ui.c
@@ -67,7 +67,7 @@ static led0_state_t led0_cur_state = LED0_STATE_OFF;
static uint32_t led0_ms_interval = 0;
static int led0_toggle_count = 0;
-MP_WEAK void led_init(void) {
+void led_init(void) {
#if defined(MBOOT_BOARD_LED_INIT)
// Custom LED init function provided by the board.
MBOOT_BOARD_LED_INIT();
@@ -88,7 +88,7 @@ MP_WEAK void led_init(void) {
led0_cur_state = LED0_STATE_OFF;
}
-MP_WEAK void led_state(uint32_t led, int val) {
+static void led_state(uint32_t led, int val) {
#if defined(MBOOT_BOARD_LED_STATE)
// Custom LED state function provided by the board.
return MBOOT_BOARD_LED_STATE(led, val);
@@ -115,7 +115,7 @@ void led_state_all(unsigned int mask) {
#endif
}
-void led0_state(led0_state_t state) {
+static void led0_state(led0_state_t state) {
led0_cur_state = state;
if (state == LED0_STATE_OFF || state == LED0_STATE_ON) {
led_state(LED0, state);