Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed compile errors due to untreated CFG_TUH_LOG_LEVEL #2347

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

IngHK
Copy link

@IngHK IngHK commented Nov 24, 2023

CFG_TUH_LOG_LEVEL is not treated in right way, if CFG_TUSB_DEBUG and CFG_TUH_LOG_LEVEL are 1

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you, PR look good, though there is some slight changes requests

@@ -43,7 +43,7 @@
#if CFG_TUSB_DEBUG

// Enum to String for debugging purposes
#if CFG_TUSB_DEBUG >= 2
#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since it is common for host and device, it should be

#if CFG_TUSB_DEBUG >= CFG_TUH_LOG_LEVEL || CFG_TUSB_DEBUG >= CFG_TUD_LOG_LEVEL

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@IngHK
Copy link
Author

IngHK commented Dec 1, 2023

I'm currently traveling without a notebook. I'll change it in a week

@hathach
Copy link
Owner

hathach commented Dec 1, 2023

I'm currently traveling without a notebook. I'll change it in a week

Take your time, I am om vacation next week as well

@IngHK
Copy link
Author

IngHK commented Dec 8, 2023

I changed it as suggested

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good, thank you

@hathach hathach merged commit 6bb9255 into hathach:master Dec 12, 2023
@IngHK IngHK deleted the HostLogsFixes branch February 18, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants