mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
Fix: use out_path_len instead of path_len in QuickMsgScreen
ContactInfo has out_path_len, not path_len. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -436,7 +436,7 @@ public:
|
||||
display.drawTextEllipsized(8, y, display.width() - 24, filtered);
|
||||
display.setColor(DisplayDriver::GREEN);
|
||||
char hop[5];
|
||||
snprintf(hop, sizeof(hop), c.path_len == 0xFF ? "D" : "%dh", (int)c.path_len);
|
||||
snprintf(hop, sizeof(hop), c.out_path_len == 0xFF ? "D" : "%dh", (int)c.out_path_len);
|
||||
display.setCursor(display.width() - display.getTextWidth(hop) - 1, y);
|
||||
display.print(hop);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user