mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-02-04 23:04:51 +01:00
fix cppcheck
This commit is contained in:
parent
7c23c2f1f4
commit
97d6d4a7d5
|
|
@ -71,10 +71,13 @@ void setup()
|
|||
show_display("OE5BPA", "LoRa APRS iGate & Digi", "by Peter Buchegger", 3000);
|
||||
|
||||
load_config();
|
||||
if(Config.wifi.active) setup_wifi();
|
||||
if(Config.wifi.active) setup_ota();
|
||||
setup_lora();
|
||||
if(Config.wifi.active) setup_ntp();
|
||||
if(Config.wifi.active)
|
||||
{
|
||||
setup_wifi();
|
||||
setup_ota();
|
||||
setup_ntp();
|
||||
}
|
||||
if(Config.aprs_is.active) setup_aprs_is();
|
||||
setup_timer();
|
||||
|
||||
|
|
@ -211,7 +214,7 @@ void loop()
|
|||
}
|
||||
else
|
||||
{
|
||||
iter++;
|
||||
iter++; // cppcheck-suppress postfixOperator
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public:
|
|||
class Beacon
|
||||
{
|
||||
public:
|
||||
Beacon() : message("LoRa iGATE & Digi, Info: github.com/peterus/LoRa_APRS_iGate") {}
|
||||
Beacon() : message("LoRa iGATE & Digi, Info: github.com/peterus/LoRa_APRS_iGate"), positionLatitude(0.0), positionLongitude(0.0) {}
|
||||
|
||||
String message;
|
||||
double positionLatitude;
|
||||
|
|
|
|||
Loading…
Reference in a new issue