Cleanup code

This commit is contained in:
Tekk 2021-12-04 04:27:24 +01:00
parent 0c59659da3
commit df89fab51e

View file

@ -187,15 +187,15 @@ void loop() {
if (send_update && gps_loc_update) {
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;
String lat;
String lng;
String dao;
Configuration::Beacon beacon = Config.GetCurrentBeacon();
msg.setSource(beacon.callsign);
msg.setDestination("APLT00-1");