mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 22:20:37 +00:00
fix warnings
This commit is contained in:
@@ -307,7 +307,7 @@ void AdminModule::handleSetRadio(RadioConfig &r)
|
||||
service.reloadConfig();
|
||||
}
|
||||
|
||||
void AdminModule::handleSetConfig(Config &c)
|
||||
void AdminModule::handleSetConfig(const Config &c)
|
||||
{
|
||||
switch (c.which_payloadVariant) {
|
||||
case AdminMessage_ConfigType_ALL:
|
||||
|
||||
@@ -23,7 +23,7 @@ class AdminModule : public ProtobufModule<AdminMessage>
|
||||
void handleSetOwner(const User &o);
|
||||
void handleSetChannel(const Channel &cc);
|
||||
void handleSetRadio(RadioConfig &r);
|
||||
void handleSetConfig(Config &c);
|
||||
void handleSetConfig(const Config &c);
|
||||
|
||||
void handleGetChannel(const MeshPacket &req, uint32_t channelIndex);
|
||||
void handleGetRadio(const MeshPacket &req);
|
||||
|
||||
Reference in New Issue
Block a user