From 3c7b3dafcf40e8ab27871e6a91242a48d4d072bc Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Thu, 14 Aug 2025 13:10:00 +0200 Subject: [PATCH] Read the frequency just set and fix typos Since ampctl is using the dummy driver, the status is reset at every run and it can't read the value set during the previous run. --- tests/amptest.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/amptest.sh b/tests/amptest.sh index 30601d779..196826c0b 100755 --- a/tests/amptest.sh +++ b/tests/amptest.sh @@ -11,12 +11,11 @@ ./ampctl l PWRFORWARD l PWRFORWARD ./ampctl l PWRREFLECTED l PWRREFLECTED ./ampctl l PWRPEAK l PWRPEAK -# Powerstat 0=Off, 1=On, 2=Standbyd, 4=Operate, 8=Unknown +# Powerstat 0=Off, 1=On, 2=Standby, 4=Operate, 8=Unknown ./ampctl \set_powerstat 0 ./ampctl \set_powerstat 1 ./ampctl \set_powerstat 2 ./ampctl \set_powerstat 4 ./ampctl \set_powerstat 8 -# Sets/reads tuner frequenchy -./ampctl F 14074000 -./ampctl f +# Sets/reads tuner frequency +./ampctl F 14074000 f