more compatible with IAR

This commit is contained in:
hathach 2023-03-20 11:33:39 +07:00
parent d4d6f60885
commit 4520218786
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA

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