summaryrefslogtreecommitdiff
path: root/src/portable/raspberrypi
diff options
context:
space:
mode:
authorDan Halbert <[email protected]>2023-03-10 14:01:51 -0500
committerDan Halbert <[email protected]>2023-03-10 14:01:51 -0500
commit4857abdc6bc58ebd06ce87c0139ed8a789b0d440 (patch)
treebb3c46e2ea2e6e9ea8d459bf04e4d998b7f34dab /src/portable/raspberrypi
parent990fb6ae5c4d9d4b77c5a9ecb3a2abe899dd2712 (diff)
rp2040: include hardware/sync.h explicitly
Diffstat (limited to 'src/portable/raspberrypi')
-rw-r--r--src/portable/raspberrypi/rp2040/dcd_rp2040.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/portable/raspberrypi/rp2040/dcd_rp2040.c b/src/portable/raspberrypi/rp2040/dcd_rp2040.c
index 8df7bef2b..37dec1cbf 100644
--- a/src/portable/raspberrypi/rp2040/dcd_rp2040.c
+++ b/src/portable/raspberrypi/rp2040/dcd_rp2040.c
@@ -29,6 +29,7 @@
#if CFG_TUD_ENABLED && (CFG_TUSB_MCU == OPT_MCU_RP2040) && !CFG_TUD_RPI_PIO_USB
#include "pico.h"
+#include "hardware/sync.h"
#include "rp2040_usb.h"
#if TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX