mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 02:02:23 +00:00
Cpp-check warnings cleanup (#3014)
* cpp-check warnings cleanup * Supressions and more fixes
This commit is contained in:
@@ -184,7 +184,7 @@ void Channels::onConfigChanged()
|
||||
{
|
||||
// Make sure the phone hasn't mucked anything up
|
||||
for (int i = 0; i < channelFile.channels_count; i++) {
|
||||
meshtastic_Channel &ch = fixupChannel(i);
|
||||
const meshtastic_Channel &ch = fixupChannel(i);
|
||||
|
||||
if (ch.role == meshtastic_Channel_Role_PRIMARY)
|
||||
primaryIndex = i;
|
||||
|
||||
Reference in New Issue
Block a user