* fixed a silly bug in mode conversion

git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@475 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.1.1
Stéphane Fillod, F8CFE 2001-05-04 22:39:47 +00:00
rodzic 676c6459d5
commit 8ae64aea5c
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1,12 +1,12 @@
/*
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
*
* frame.c - Copyright (C) 2000 Stephane Fillod
* frame.c - Copyright (C) 2000,2001 Stephane Fillod
* This module provides a set of low level functions to handle the
* CI-V interface, used in serial communication to ICOM radios.
*
*
* $Id: frame.c,v 1.10 2001-04-26 21:31:01 f4cfe Exp $
* $Id: frame.c,v 1.11 2001-05-04 22:39:47 f4cfe Exp $
*
*
*
@ -251,7 +251,7 @@ void icom2rig_mode(RIG *rig, unsigned short icmode, rmode_t *mode, pbwidth_t *wi
icmode);
*mode = RIG_MODE_NONE;
}
switch ((icmode>>8) & 0xff00) {
switch ((icmode>>8) & 0xff) {
case 0x00: *width = rig_passband_narrow(rig, *mode); break;
case 0x01: *width = rig_passband_normal(rig, *mode); break;
case 0x02: *width = rig_passband_wide(rig, *mode); break;