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
commit be21413361
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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