Skip to content

Commit cbcf5d8

Browse files
authored
Merge pull request hathach#1963 from hathach/rp2040-more-iar
more compatible with IAR
2 parents d4d6f60 + 4520218 commit cbcf5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/portable/raspberrypi/rp2040/rp2040_usb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
#define __tusb_irq_path_func(x) x
3737
#endif
3838

39-
#define usb_hw_set ((usb_hw_t *) hw_set_alias(usb_hw))
40-
#define usb_hw_clear ((usb_hw_t *) hw_clear_alias(usb_hw))
39+
#define usb_hw_set ((usb_hw_t *) hw_set_alias_untyped(usb_hw))
40+
#define usb_hw_clear ((usb_hw_t *) hw_clear_alias_untyped(usb_hw))
4141

4242
#define pico_info(...) TU_LOG(2, __VA_ARGS__)
4343
#define pico_trace(...) TU_LOG(3, __VA_ARGS__)

0 commit comments

Comments
 (0)