Change to python3, moved to argparse, adding a config file for defaults, adding logging
This commit is contained in:
@@ -32,7 +32,7 @@ class ModeSLocation:
|
||||
def encode_alt_modes(self, alt, bit13):
|
||||
mbit = False
|
||||
qbit = True
|
||||
encalt = (int(alt) + 1000) / 25
|
||||
encalt = int((int(alt) + 1000) / 25)
|
||||
|
||||
if bit13 is True:
|
||||
tmp1 = (encalt & 0xfe0) << 2
|
||||
|
||||
Reference in New Issue
Block a user