modify APRS timing

This commit is contained in:
KF7EEL 2020-12-24 15:29:47 -08:00
parent 6c889b8a05
commit 926883cde9

View File

@ -151,7 +151,7 @@ def aprs_upload(config):
if config['APRS']['ENABLED']: if config['APRS']['ENABLED']:
if int(config['APRS']['REPORT_INTERVAL']) >= 10: if int(config['APRS']['REPORT_INTERVAL']) >= 10:
l=task.LoopingCall(sendAprs) l=task.LoopingCall(sendAprs)
interval_time = int(config['APRS']['REPORT_INTERVAL'])*60 interval_time = int(int(config['APRS']['REPORT_INTERVAL'])*60)
l.start(interval_time) l.start(interval_time)
else: else:
l=task.LoopingCall(sendAprs) l=task.LoopingCall(sendAprs)