From a6492f380fdc96f9b58f4e3e8b9cc01d4a1a516a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 5 Mar 2002 00:41:04 +0000 Subject: [PATCH] fixed a bug detecting empty channel freq git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@991 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- icom/icom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icom/icom.c b/icom/icom.c index cc499e074..0ba95aa8b 100644 --- a/icom/icom.c +++ b/icom/icom.c @@ -2,7 +2,7 @@ * Hamlib CI-V backend - main file * Copyright (c) 2000,2001,2002 by Stephane Fillod * - * $Id: icom.c,v 1.52 2002-03-04 20:23:18 fillods Exp $ + * $Id: icom.c,v 1.53 2002-03-05 00:41:04 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -376,7 +376,7 @@ int icom_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) /* * is it a blank mem channel ? */ - if (freq_len == 1 && freqbuf[0] == 0xff) { + if (freq_len == 1 && freqbuf[1] == 0xff) { *freq = RIG_FREQ_NONE; return RIG_OK;