mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-02 10:50:40 +00:00
Well it helps if I commit the thing
This commit is contained in:
parent
bcaf834853
commit
b24376b1fc
@ -615,7 +615,7 @@ void AdminModule::handleSetHamMode(const meshtastic_HamParameters &p)
|
|||||||
|
|
||||||
// Remove PSK of primary channel for plaintext amateur usage
|
// Remove PSK of primary channel for plaintext amateur usage
|
||||||
auto primaryChannel = channels.getByIndex(channels.getPrimaryIndex());
|
auto primaryChannel = channels.getByIndex(channels.getPrimaryIndex());
|
||||||
auto &channelSettings = ch.settings;
|
auto &channelSettings = primaryChannel.settings;
|
||||||
channelSettings.psk.bytes[0] = 0;
|
channelSettings.psk.bytes[0] = 0;
|
||||||
channelSettings.psk.size = 0;
|
channelSettings.psk.size = 0;
|
||||||
channels.setChannel(primaryChannel);
|
channels.setChannel(primaryChannel);
|
||||||
|
Loading…
Reference in New Issue
Block a user