kopia lustrzana https://github.com/Hamlib/Hamlib
Allo FT-857 to return cached vfo when set_vfo is called and EEPROM read error occurs
https://github.com/Hamlib/Hamlib/issues/1232pull/1242/head
rodzic
b037c72c50
commit
c903c09cd1
1
NEWS
1
NEWS
|
@ -29,6 +29,7 @@ Version 4.6
|
|||
* Fix FTDX3000 rig split
|
||||
|
||||
Version 4.5.5
|
||||
* Allow FT-857 to use cached vfo on get_vfo when error occurs reading EEPROM
|
||||
* Fix FTDX10 FT710 set_level AFy
|
||||
* Fix FT-450D detection
|
||||
* Fix VFO A/B swapping for gpredict -- hopefully better behavior for VFO swapping rigs
|
||||
|
|
|
@ -246,7 +246,7 @@ const struct rig_caps ft857_caps =
|
|||
RIG_MODEL(RIG_MODEL_FT857),
|
||||
.model_name = "FT-857",
|
||||
.mfg_name = "Yaesu",
|
||||
.version = "20220712.0",
|
||||
.version = "20230206.0",
|
||||
.copyright = "LGPL",
|
||||
.status = RIG_STATUS_STABLE,
|
||||
.rig_type = RIG_TYPE_TRANSCEIVER,
|
||||
|
@ -613,7 +613,9 @@ int ft857_get_vfo(RIG *rig, vfo_t *vfo)
|
|||
|
||||
if (ft857_read_eeprom(rig, 0x0068, &c) < 0) /* get vfo status */
|
||||
{
|
||||
return -RIG_EPROTO;
|
||||
// Some 857's cannnot read so we'll just return the cached value
|
||||
*vfo = rig->state.cache.vfo;
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
if ((c & 0x1) == 0) { *vfo = RIG_VFO_A; }
|
||||
|
|
Ładowanie…
Reference in New Issue