Skip to content

cleanup: remove TIMING debug instrumentation#144

Merged
sjordan0228 merged 1 commit into
devfrom
cleanup/remove-timing-instrumentation
Apr 10, 2026
Merged

cleanup: remove TIMING debug instrumentation#144
sjordan0228 merged 1 commit into
devfrom
cleanup/remove-timing-instrumentation

Conversation

@sjordan0228
Copy link
Copy Markdown
Contributor

@sjordan0228 sjordan0228 commented Apr 10, 2026

Remove millis() timing captures and TIMING printf lines from detectTag, readISO14443Pages, and prepareRF. Debug instrumentation from PN5180 reliability work — no longer needed.

Summary by CodeRabbit

Release Notes

  • Chores
    • Removed internal timing instrumentation from NFC connection management to improve code clarity.

Remove millis() timing captures and TIMING printf lines from
detectTag, readISO14443Pages, and prepareRF. Added during PN5180
reliability debugging — no longer needed in production.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 10, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 8e122049-022f-4b91-9d43-92382d827ba4

📥 Commits

Reviewing files that changed from the base of the PR and between 9811258 and 1e8f049.

📒 Files selected for processing (2)
  • src/HardwareNFCConnection.cpp
  • src/NFCManager.cpp

📝 Walkthrough

Walkthrough

The PR removes millis()-based timing instrumentation from NFC hardware and manager components. Timing variables and debug output are eliminated from HardwareNFCConnection and NFCManager methods. Underlying control flow and tag session management remain unchanged.

Changes

Cohort / File(s) Summary
Timing Instrumentation Removal
src/HardwareNFCConnection.cpp, src/NFCManager.cpp
Removed millis() based timing measurements and related Serial.printf timing output from detectTag(), readISO14443Pages(), and prepareRF() methods. Simplified error logging in tag reactivation failure case. Control flow and state management preserved.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Possibly related PRs

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cleanup/remove-timing-instrumentation

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the size/S Small change (10-50 lines) label Apr 10, 2026
@sjordan0228 sjordan0228 merged commit 7c133e3 into dev Apr 10, 2026
2 of 3 checks passed
@sjordan0228 sjordan0228 deleted the cleanup/remove-timing-instrumentation branch April 10, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Small change (10-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant