Cleanup code
This commit is contained in:
parent
0c59659da3
commit
df89fab51e
1 changed files with 3 additions and 3 deletions
|
@ -187,15 +187,15 @@ void loop() {
|
||||||
|
|
||||||
if (send_update && gps_loc_update) {
|
if (send_update && gps_loc_update) {
|
||||||
send_update = false;
|
send_update = false;
|
||||||
nextBeaconTimeStamp = now() + (Config.smart_beacon.active ? Config.smart_beacon.slow_rate : (Config.GetCurrentBeacon().timeout * SECS_PER_MIN));
|
Configuration::Beacon beacon = Config.GetCurrentBeacon();
|
||||||
|
|
||||||
|
nextBeaconTimeStamp = now() + (Config.smart_beacon.active ? Config.smart_beacon.slow_rate : (beacon.timeout * SECS_PER_MIN));
|
||||||
|
|
||||||
APRSMessage msg;
|
APRSMessage msg;
|
||||||
String lat;
|
String lat;
|
||||||
String lng;
|
String lng;
|
||||||
String dao;
|
String dao;
|
||||||
|
|
||||||
Configuration::Beacon beacon = Config.GetCurrentBeacon();
|
|
||||||
|
|
||||||
msg.setSource(beacon.callsign);
|
msg.setSource(beacon.callsign);
|
||||||
msg.setDestination("APLT00-1");
|
msg.setDestination("APLT00-1");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue