mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
fix: increase quick-message expansion buffer from 80 to 140 bytes
custom_msgs templates are up to 140 chars; the 80-byte msg[] buffer silently truncated any message longer than 79 characters before sending. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1059,7 +1059,7 @@ public:
|
||||
NodePrefs* p = _task->getNodePrefs();
|
||||
int slot = _active_msgs[_msg_sel - 1];
|
||||
const char* tmpl = p ? p->custom_msgs[slot] : "OK";
|
||||
char msg[80];
|
||||
char msg[140];
|
||||
expandMsg(tmpl, msg, sizeof(msg));
|
||||
bool ok = sendText(msg);
|
||||
afterSend(ok, msg);
|
||||
|
||||
Reference in New Issue
Block a user