From a456964c19b4a66392ab7183e24eb8dc293ca93a Mon Sep 17 00:00:00 2001 From: Peter Harper <77111776+peterharperuk@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:03:09 +0100 Subject: [PATCH] Fix btstack compilation (#1726) hardware/flash.h has been removed from pico/flash.h in the fix for #1699. This breaks btstack compilation. Let's fix it. --- src/rp2_common/pico_btstack/btstack_flash_bank.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rp2_common/pico_btstack/btstack_flash_bank.c b/src/rp2_common/pico_btstack/btstack_flash_bank.c index 9ed9c022..54111ff7 100644 --- a/src/rp2_common/pico_btstack/btstack_flash_bank.c +++ b/src/rp2_common/pico_btstack/btstack_flash_bank.c @@ -7,6 +7,7 @@ #include "pico/btstack_flash_bank.h" #include "pico/flash.h" #include "hardware/sync.h" +#include "hardware/flash.h" #include // Check sizes