mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-28 16:20:26 +00:00
more compatible with IAR
This commit is contained in:
parent
d4d6f60885
commit
4520218786
@ -36,8 +36,8 @@
|
|||||||
#define __tusb_irq_path_func(x) x
|
#define __tusb_irq_path_func(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define usb_hw_set ((usb_hw_t *) hw_set_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(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_info(...) TU_LOG(2, __VA_ARGS__)
|
||||||
#define pico_trace(...) TU_LOG(3, __VA_ARGS__)
|
#define pico_trace(...) TU_LOG(3, __VA_ARGS__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user