Merge pull request #1948 from dhalbert/remove-volatile-cast-include

rp2040: include hardware/sync.h explicitly
This commit is contained in:
Ha Thach
2023-03-11 09:35:04 +07:00
committed by GitHub

View File

@@ -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