Merge pull request #1963 from hathach/rp2040-more-iar

more compatible with IAR
This commit is contained in:
Ha Thach 2023-03-20 11:58:51 +07:00 committed by GitHub
commit cbcf5d8c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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