cppcheck fix

This commit is contained in:
Peter Buchegger 2021-05-21 23:28:50 +02:00
parent 7a6473e30e
commit ed1a5d7ffe
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ bool AprsIsTask::loop(System &system) {
return true;
}
bool AprsIsTask::connect(System &system) {
bool AprsIsTask::connect(const System &system) {
logPrintI("connecting to APRS-IS server: ");
logPrintI(system.getUserConfig()->aprs_is.server);
logPrintI(" on port: ");

View file

@ -19,7 +19,7 @@ private:
TaskQueue<std::shared_ptr<APRSMessage>> &_toAprsIs;
bool connect(System &system);
bool connect(const System &system);
};
#endif