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
157 stars 92 forks source link

Incorrect trace values #22

Closed sbertin-telular closed 3 years ago

sbertin-telular commented 3 years ago

These 2 both have a value of 855.

define UX_TRACE_DEVICE_STACK_CONFIGURATION_GET (UX_TRACE_DEVICE_STACK_EVENTS_BASE + 5) / I1 = configuration value /

define UX_TRACE_DEVICE_STACK_CONFIGURATION_SET (UX_TRACE_DEVICE_STACK_EVENTS_BASE + 5) / I1 = configuration value /

Within TraceX, 856 shows as Event: ux_trace_device_stack_configuration_set (856). The actual event was UX_TRACE_DEVICE_STACK_CONNECT, so I think UX_TRACE_DEVICE_STACK_CONFIGURATION_SET and below are all off by 1.

jdeere5220 commented 3 years ago

@sbertin-telular thank you for the feedback we will look into this and get back to you.

xiaocq2001 commented 3 years ago

IDs are updated in USBX 6.1.8

sbertin-telular commented 3 years ago

Thank you.