fix typo
This commit is contained in:
parent
5aa8a14269
commit
7002c79c8b
@ -885,9 +885,9 @@ def aprs_rx(aprs_rx_login, aprs_passcode, aprs_server, aprs_port, aprs_filter, u
|
|||||||
else:
|
else:
|
||||||
AIS.connect()
|
AIS.connect()
|
||||||
print('Connecting to APRS-IS')
|
print('Connecting to APRS-IS')
|
||||||
if int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME'] == 0:
|
if int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME']) == 0:
|
||||||
logger.info('APRS beacon disabled')
|
logger.info('APRS beacon disabled')
|
||||||
if int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME'] != 0:
|
if int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME']) != 0:
|
||||||
aprs_beacon=task.LoopingCall(aprs_beacon_send)
|
aprs_beacon=task.LoopingCall(aprs_beacon_send)
|
||||||
aprs_beacon.start(int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME'])*60)
|
aprs_beacon.start(int(CONFIG['GPS_DATA']['IGATE_BEACON_TIME'])*60)
|
||||||
AIS.consumer(aprs_process, raw=True, immortal=False)
|
AIS.consumer(aprs_process, raw=True, immortal=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user