mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-01 17:56:12 +00:00
chore: address code-audit hygiene (stale refs, dead TODO, popup scroll)
- FEATURES audit: refresh references the Nearby/Trail refactors made stale — M4 (renderDiscoverDetail → renderScanDetail), L1 (SNR %.1f now in scan detail + ping; list cards show RSSI), Trail grid (round-step renderGrid + MIN_GRID_PX). - MyMesh: drop the obsolete `// TODO: add expected ACK to table` — the code right below already populates expected_ack_table. - PopupMenu: render() is now the single source of truth for _scroll, clamping the selection into view from the live-height cap, so handleInput() only moves _sel and never depends on a stale _cap (M3). Behaviour-preserving. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
27d88bed52
commit
4145185031
@@ -1485,7 +1485,6 @@ void MyMesh::handleCmdFrame(size_t len) {
|
||||
} else {
|
||||
result = sendMessage(*recipient, msg_timestamp, attempt, text, expected_ack, est_timeout);
|
||||
}
|
||||
// TODO: add expected ACK to table
|
||||
if (result == MSG_SEND_FAILED) {
|
||||
writeErrFrame(ERR_CODE_TABLE_FULL);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user