btashton opened a new pull request #2383: URL: https://github.com/apache/incubator-nuttx/pull/2383
## Summary Right now if usb tracing is enabled but verbose is disabled a debug assert will be triggered when ever a verbose trace point is hit because the return format pointer would be NULL (by design). Instead of trying to print the NULL message, just return early. This does not change any normal functionality. ## Impact USB tracing can be enabled in non-verbose mode with debug asserts on. ## Testing nucleo-h745iz:otg_fs_host with debug asserts enabled and trace on. Prior this change it would hit the assert right away. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
