mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-30 00:38:13 +00:00
update README and fix quick message / melody naming collision
- Expand README: ringtone editor now documents two melody slots, full note spec, and melody assignment to DM/channel notifications; settings section lists DM Melody and Channel Melody options; context menu description updated with melody override detail - Rename quick reply template labels from M1-M10 to Q1-Q10 to avoid ambiguity with melody slot identifiers M1/M2 - Increase DM message history buffer from 32 to 64 entries Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -416,7 +416,7 @@ class SettingsScreen : public UIScreen {
|
||||
} else if (isMsgSlot(item)) {
|
||||
int slot = msgSlotIndex(item);
|
||||
char label[5];
|
||||
snprintf(label, sizeof(label), "M%d:", slot + 1);
|
||||
snprintf(label, sizeof(label), "Q%d:", slot + 1);
|
||||
display.print(label);
|
||||
const char* tmpl = (p && p->custom_msgs[slot][0]) ? p->custom_msgs[slot] : "(empty)";
|
||||
display.drawTextEllipsized(VAL_X - 20, y, display.width() - VAL_X + 18, tmpl);
|
||||
@@ -667,7 +667,7 @@ class QuickMsgScreen : public UIScreen {
|
||||
|
||||
// DM_HIST
|
||||
struct DmHistEntry { uint8_t prefix[4]; uint8_t outgoing; char text[80]; };
|
||||
static const int DM_HIST_MAX = 32;
|
||||
static const int DM_HIST_MAX = 64;
|
||||
DmHistEntry _dm_hist[DM_HIST_MAX];
|
||||
int _dm_hist_head, _dm_hist_count;
|
||||
int _dm_hist_sel, _dm_hist_scroll;
|
||||
|
||||
Reference in New Issue
Block a user