diff options
| author | hathach <[email protected]> | 2023-03-20 11:33:39 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-03-20 11:33:39 +0700 |
| commit | 45202187864d6dce8c4bc1a3d698e90ae98b7855 (patch) | |
| tree | f8ce1dbd0d6373edc646cbcaf3f2c23317b0bb74 /src | |
| parent | d4d6f608850cc4e1160a46a9c60f1e4a2a0d2d41 (diff) | |
more compatible with IAR
Diffstat (limited to 'src')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/rp2040_usb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/portable/raspberrypi/rp2040/rp2040_usb.h b/src/portable/raspberrypi/rp2040/rp2040_usb.h index 5d3d792cb..d4d29a816 100644 --- a/src/portable/raspberrypi/rp2040/rp2040_usb.h +++ b/src/portable/raspberrypi/rp2040/rp2040_usb.h @@ -36,8 +36,8 @@ #define __tusb_irq_path_func(x) x #endif -#define usb_hw_set ((usb_hw_t *) hw_set_alias(usb_hw)) -#define usb_hw_clear ((usb_hw_t *) hw_clear_alias(usb_hw)) +#define usb_hw_set ((usb_hw_t *) hw_set_alias_untyped(usb_hw)) +#define usb_hw_clear ((usb_hw_t *) hw_clear_alias_untyped(usb_hw)) #define pico_info(...) TU_LOG(2, __VA_ARGS__) #define pico_trace(...) TU_LOG(3, __VA_ARGS__) |
