Revert previous commit - this needs it's own proto

This commit is contained in:
ford-jones
2025-09-13 17:45:07 +12:00
parent ccff2769fe
commit f8d44f8f6c
7 changed files with 26 additions and 36 deletions

View File

@@ -347,7 +347,7 @@ void Channels::setMute(ChannelIndex chIndex)
{
if (chIndex < channelFile.channels_count) {
meshtastic_Channel *ch = channelFile.channels + chIndex;
ch->settings.module_settings.is_client_muted = !ch->settings.module_settings.is_client_muted;
ch->settings.mute = !ch->settings.mute;
} else {
LOG_ERROR("Failed to mute. Invalid channel index %d > %d", chIndex, channelFile.channels_count);
};