eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
154 stars 89 forks source link

Various ux_host_class_xxx.h files missing extern "C" #20

Closed maxkunes closed 2 years ago

maxkunes commented 3 years ago

Atleast a few of these host class files like ux_host_class_hub.h, host_class_hid.h, host_class_hid_mouse.h, keyboard.h, etc... are all missing the standard #ifdef __cplusplus extern "C".

It's easy enough for me to edit in my project, but it would be nice if USBX played well with C++ out of the box as it mostly does.

xiaocq2001 commented 3 years ago

Thanks for the feedback. We will update them.

xiaocq2001 commented 3 years ago

Updated in 6.1.8

yuxin-azrtos commented 2 years ago

Resolved. Close.