summaryrefslogtreecommitdiff
path: root/chip/stm32
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32')
-rw-r--r--chip/stm32/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/spi.c b/chip/stm32/spi.c
index 8f905d3855..032dd590a9 100644
--- a/chip/stm32/spi.c
+++ b/chip/stm32/spi.c
@@ -663,7 +663,7 @@ static void spi_init(void)
if (was_enabled || chipset_in_state(CHIPSET_STATE_ON))
spi_chipset_startup();
}
-DECLARE_HOOK(HOOK_INIT, spi_init, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_INIT, spi_init, HOOK_PRIO_INIT_SPI);
/**
* Get protocol information