From 3d711855a828a7d9cbf9623cf67ac13147fec42c Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 8 Apr 2022 11:41:39 +0000 Subject: [PATCH] Fixed harmless warning. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15573 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/RP/RP2040/hal_lld.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/os/hal/ports/RP/RP2040/hal_lld.c b/os/hal/ports/RP/RP2040/hal_lld.c index 50175b27a..9fbdee33c 100644 --- a/os/hal/ports/RP/RP2040/hal_lld.c +++ b/os/hal/ports/RP/RP2040/hal_lld.c @@ -46,6 +46,7 @@ uint32_t SystemCoreClock; /* Driver local functions. */ /*===========================================================================*/ +#if RP_CORE1_START == TRUE /* Courtesy of Pico-SDK.*/ static void start_core1(void) { extern uint32_t RP_CORE1_STACK_END; @@ -81,6 +82,7 @@ static void start_core1(void) { seq = cmd == response ? seq + 1U : 0U; } while (seq < count_of(cmd_sequence)); } +#endif /*===========================================================================*/ /* Driver interrupt handlers. */