mirror of
https://github.com/smittix/intercept.git
synced 2026-05-02 18:49:57 -07:00
Add bias_t parameter to SDR command builders
The bias_t parameter was being passed to build_fm_demod_command() but wasn't defined in the method signatures, causing an unexpected keyword argument error. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,8 @@ class CommandBuilder(ABC):
|
||||
gain: Optional[float] = None,
|
||||
ppm: Optional[int] = None,
|
||||
modulation: str = "fm",
|
||||
squelch: Optional[int] = None
|
||||
squelch: Optional[int] = None,
|
||||
bias_t: bool = False
|
||||
) -> list[str]:
|
||||
"""
|
||||
Build FM demodulation command (for pager decoding).
|
||||
@@ -106,6 +107,7 @@ class CommandBuilder(ABC):
|
||||
ppm: PPM frequency correction
|
||||
modulation: Modulation type (fm, am, etc.)
|
||||
squelch: Squelch level
|
||||
bias_t: Enable bias-T power (for active antennas)
|
||||
|
||||
Returns:
|
||||
Command as list of strings for subprocess
|
||||
|
||||
Reference in New Issue
Block a user