Add ability to set Icom MAIN_VFO_A/B and SUB_VFO_A/B

https://github.com/Hamlib/Hamlib/issues/348
pull/351/head
Michael Black W9MDB 2020-07-19 17:21:23 -05:00
rodzic 614ffe8dab
commit 4efbddd0e8
2 zmienionych plików z 3 dodań i 5 usunięć

Wyświetl plik

@ -2111,8 +2111,7 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
return -RIG_ERJCTED;
}
rig->state.current_vfo = vfo;
return RIG_OK;
icvfo = RIG_VFO_MAIN_A ? S_VFOA : S_VFOB;
break;
@ -2133,8 +2132,7 @@ int icom_set_vfo(RIG *rig, vfo_t vfo)
return -RIG_ERJCTED;
}
rig->state.current_vfo = vfo;
return RIG_OK;
icvfo = RIG_VFO_SUB_A ? S_VFOA : S_VFOB;
break;

Wyświetl plik

@ -31,7 +31,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20200715"
#define BACKEND_VER "20200719"
/*
* defines used by comp_cal_str in rig.c