summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-03-20 11:58:51 +0700
committerGitHub <[email protected]>2023-03-20 11:58:51 +0700
commitcbcf5d8c0866e6c0090b98ad9b3d6d504e313135 (patch)
treef8ce1dbd0d6373edc646cbcaf3f2c23317b0bb74 /src
parentd4d6f608850cc4e1160a46a9c60f1e4a2a0d2d41 (diff)
parent45202187864d6dce8c4bc1a3d698e90ae98b7855 (diff)
Merge pull request #1963 from hathach/rp2040-more-iar
more compatible with IAR
Diffstat (limited to 'src')
-rw-r--r--src/portable/raspberrypi/rp2040/rp2040_usb.h4
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__)