Skip to content

fix: remove leftover debug output from aprs_general_query#656

Open
chrisdebian wants to merge 1 commit into
wb2osz:devfrom
chrisdebian:fix/remove-general-query-debug
Open

fix: remove leftover debug output from aprs_general_query#656
chrisdebian wants to merge 1 commit into
wb2osz:devfrom
chrisdebian:fix/remove-general-query-debug

Conversation

@chrisdebian
Copy link
Copy Markdown

Summary

Two TODO: remove debug markers in aprs_general_query() flag unconditional debug print statements that were left in from development:

  • Line 2649: prints the decoded query type (DEBUG: General Query type = "...") on every General Query packet
  • Line 2726: prints the decoded footprint coordinates (DEBUG: General Query footprint = ...) on every General Query packet

Both use DW_COLOR_DEBUG / dw_printf unconditionally — not guarded by any quiet flag or compile-time switch — so they produce output during normal operation.

Change

Remove both debug blocks and their TODO comments. Net: 10 deletions, 0 insertions.

Compiled and verified clean against direwolf.h include path.

Two unconditional DW_COLOR_DEBUG / dw_printf("DEBUG: ...") statements
were left in aprs_general_query() with TODO comments marking them for
removal. They printed on every General Query packet regardless of any
debug flag, adding noise to normal operation.

Removes both blocks (query type at line 2649 and footprint coordinates
at line 2726) and their associated TODO comments.
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