Fixing boolean type.

This commit is contained in:
Marat Fayzullin 2023-01-30 22:35:30 -05:00
parent 0be9965cb3
commit 22589fbfac
2 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ class CwDemodulator(SecondaryDemodulator, SecondarySelectorChain):
class RttyDemodulator(SecondaryDemodulator, SecondarySelectorChain):
def __init__(self, targetWidth: float, baudRate: float, reverse: boolean):
def __init__(self, targetWidth: float, baudRate: float, reverse: bool):
self.sampleRate = 12000
self.targetWidth = targetWidth
self.baudRate = baudRate

View File

@ -139,8 +139,8 @@ class Modes(object):
squelch=False,
),
DigitalMode("cwdecoder", "CWDecoder", underlying=["usb"]),
DigitalMode("rtty170", "RTTY170", underlying=["usb"]),
DigitalMode("rtty450", "RTTY450", underlying=["usb"]),
DigitalMode("rtty170", "RTTY-170", underlying=["usb"]),
DigitalMode("rtty450", "RTTY-450", underlying=["usb"]),
]
@staticmethod