summaryrefslogtreecommitdiff
path: root/board/scarlet/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/scarlet/board.c')
-rw-r--r--board/scarlet/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/scarlet/board.c b/board/scarlet/board.c
index cb70a7c163..ca4c7eb13d 100644
--- a/board/scarlet/board.c
+++ b/board/scarlet/board.c
@@ -282,7 +282,7 @@ static void board_init(void)
STM32_GPIO_OSPEEDR(GPIO_D) |= 0x000003cf;
/* Sensor Init */
- if (system_jumped_to_this_image() && chipset_in_state(CHIPSET_STATE_ON))
+ if (system_jumped_late() && chipset_in_state(CHIPSET_STATE_ON))
board_spi_enable();
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);