From 58e253ce040df3311e94102193a39987b12fe68b Mon Sep 17 00:00:00 2001 From: yh-sb Date: Mon, 25 Nov 2024 03:44:36 +0200 Subject: [PATCH] Fix implicit declaration warning (#2093) pico-sdk/src/rp2_common/pico_flash/flash.c:155:33: warning: implicit declaration of function 'make_timeout_time_ms' pico-sdk/src/rp2_common/pico_flash/flash.c:156:77: warning: implicit declaration of function 'time_reached' --- src/rp2_common/pico_flash/flash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rp2_common/pico_flash/flash.c b/src/rp2_common/pico_flash/flash.c index aa98f9803..6a6294a78 100644 --- a/src/rp2_common/pico_flash/flash.c +++ b/src/rp2_common/pico_flash/flash.c @@ -9,6 +9,7 @@ #if PICO_FLASH_SAFE_EXECUTE_PICO_SUPPORT_MULTICORE_LOCKOUT #include "pico/multicore.h" #endif +#include "pico/time.h" #if PICO_FLASH_SAFE_EXECUTE_SUPPORT_FREERTOS_SMP #include "FreeRTOS.h" #include "task.h"