modify APRS timing
This commit is contained in:
parent
6c889b8a05
commit
926883cde9
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user