v1.6.2: Fix announce bin8 encoding in Settings, deduplicate encodeAnnounceName
PlatformIO Build / build (push) Failing after 30s
PlatformIO Build / release (push) Has been skipped

Apply bin8 fix to the duplicate announce encoding in LvSettingsScreen
(Send Announce action). Replace inline copy with shared function from
main.cpp. Follows up on PR #5.
This commit is contained in:
DeFiDude
2026-03-15 12:32:54 -06:00
parent e3dffe6df2
commit d89b6699ab
3 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ unsigned long wifiConnectedAt = 0;
// Announce with display name (MessagePack-encoded app_data)
// =============================================================================
static RNS::Bytes encodeAnnounceName(const String& name) {
RNS::Bytes encodeAnnounceName(const String& name) {
if (name.isEmpty()) return {};
size_t len = name.length();
if (len > 31) len = 31;