From 5f4fe8ab00a12060662e5df0fc8855f0488de35d Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Thu, 20 Aug 2026 23:11:02 +0100 Subject: New upstream version 20260814 --- tests/base.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/base.py') diff --git a/tests/base.py b/tests/base.py index af29310..c6ed191 100644 --- a/tests/base.py +++ b/tests/base.py @@ -79,6 +79,16 @@ class DriverTest(unittest.TestCase): attempt = 0 for band_lo, band_hi in self.rf.valid_bands: m.freq = band_lo + if chirp_common.is_airband(m.freq): + # Air band requires special step handling. + # First see if we can pick a 2m frequency to avoid airband + # details. + if chirp_common.in_range(146520000, self.rf.valid_bands): + m.freq = 146520000 + else: + # Nope, so go 25kHz up from the bottom of the band to + # avoid 8.33kHz issues + m.freq += 25000 if self.rf.valid_tuning_steps: # If we have valid tuning steps, go one step above the # bottom of the band. Select a different tuning_step each -- cgit v1.2.3