more -H/-H4 tests

pull/256/head
Holger Müller 2020-07-15 17:13:37 +02:00
rodzic 675512d1b7
commit 97f5083130
3 zmienionych plików z 2 dodań i 11 usunięć

Wyświetl plik

@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
VERSION = "0.3.6-rc1"
VERSION = "0.3.6-rc2"
VERSION_URL = (
"https://raw.githubusercontent.com/"
"NanoVNA-Saver/nanovna-saver/master/NanoVNASaver/About.py")

Wyświetl plik

@ -25,11 +25,3 @@ logger = logging.getLogger(__name__)
class NanoVNA_H(NanoVNA):
name = "NanoVNA-H"
def read_features(self):
logger.debug("read_features")
if self.readFirmware().find("sweep_points 201") > 0:
logger.info("VNA has 201 datapoints capability")
self.valid_datapoints = (201, 101)
self.datapoints = 201
self.features.add("Screenshot")

Wyświetl plik

@ -36,10 +36,9 @@ class NanoVNA_H4(NanoVNA_H):
def read_features(self):
logger.debug("read_features")
self.features.add("Screenshots")
super().read_features()
if self.readFirmware().find("DiSlord") > 0:
self.features.add("Customizable data points")
logger.info("VNA has 201 datapoints capability")
self.valid_datapoints = (201, 101)
self.datapoints = 201
self.features.add("Scan mask command")