From e84eedff321cb7b86fd87c966330ba6edde7b7e6 Mon Sep 17 00:00:00 2001 From: J <799564+jaguilar@users.noreply.github.com> Date: Tue, 4 Jun 2024 20:59:59 -0400 Subject: [PATCH] Remove unneeded includes from pico_flash. (#1699) --- src/rp2_common/pico_flash/flash.c | 1 - src/rp2_common/pico_flash/include/pico/flash.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/rp2_common/pico_flash/flash.c b/src/rp2_common/pico_flash/flash.c index bbed20806..038c84811 100644 --- a/src/rp2_common/pico_flash/flash.c +++ b/src/rp2_common/pico_flash/flash.c @@ -5,7 +5,6 @@ */ #include "pico/flash.h" -#include "hardware/exception.h" #include "hardware/sync.h" #if PICO_FLASH_SAFE_EXECUTE_PICO_SUPPORT_MULTICORE_LOCKOUT #include "pico/multicore.h" diff --git a/src/rp2_common/pico_flash/include/pico/flash.h b/src/rp2_common/pico_flash/include/pico/flash.h index bcc99d250..8236d6ec3 100644 --- a/src/rp2_common/pico_flash/include/pico/flash.h +++ b/src/rp2_common/pico_flash/include/pico/flash.h @@ -9,9 +9,6 @@ #include "pico.h" -#include "hardware/flash.h" -#include "pico/time.h" - /** \file pico/flash.h * \defgroup pico_flash pico_flash *