[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 92492c46275c8030b754b
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-02-04 13:24:49
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 92492c46275c8030b754b6253a3db2c124c967f1 (commit) from e589e078a11a38b76e1f84bfbc1ec0f74b32f3b5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 92492c46275c8030b754b6253a3db2c124c967f1 Author: Michael Black W9MDB <mdb...@ya...> Date: Thu Feb 4 07:23:53 2021 -0600 Modify perltest.pl for multi-line rig_error return https://github.com/Hamlib/Hamlib/issues/526 diff --git a/bindings/perltest.pl b/bindings/perltest.pl index 91652ad2..509560ad 100755 --- a/bindings/perltest.pl +++ b/bindings/perltest.pl @@ -57,7 +57,8 @@ print "strength:\t\t$lvl\n"; $chan = new Hamlib::channel($Hamlib::RIG_VFO_A); $rig->get_channel($chan,1); -print "get_channel status:\t$rig->{error_status} = ".Hamlib::rigerror($rig->{error_status})."\n"; +@tokens = split("\n",Hamlib::rigerror($rig->{error_status})); +print "get_channel status:\t$rig->{error_status} = ".$tokens[0]."\n"; print "VFO:\t\t\t".Hamlib::rig_strvfo($chan->{vfo}).", $chan->{freq}\n"; ----------------------------------------------------------------------- Summary of changes: bindings/perltest.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |