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

Consolidate default debug settings #160

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

henrygab
Copy link
Collaborator

@henrygab henrygab commented Dec 8, 2024

Minor cleanup so default debug options are set in debug_rtt.c.

Helper function for debug print macros:

  • forced to be always inline for zero perf difference vs. macro
  • provides better type safety and error messages if types are mismatched
  • also increases clarity of BP_DEBUG_PRINT macro

Minor cleanup so default debug options are set in `debug_rtt.c`.

Helper function for debug print macros:
* forced to be always inline for zero perf difference vs. macro
* provides better type safety and error messages if types are mismatched
* also increases clarity of `BP_DEBUG_PRINT` macro
@henrygab henrygab self-assigned this Dec 8, 2024
@henrygab henrygab merged commit 0c994cf into DangerousPrototypes:main Dec 8, 2024
4 checks passed
@henrygab henrygab deleted the rtt_cleanup branch December 8, 2024 21:48
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.

1 participant