Skip to content

Commit

Permalink
Change ft817.c to not mask the low bit on eepromp reads -- hopefully …
Browse files Browse the repository at this point in the history
…this doesn't break everything

#1278
  • Loading branch information
mdblack98 committed Apr 25, 2023
1 parent 1db6487 commit da94c8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rigs/yaesu/ft817.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ const struct rig_caps ft817_caps =
RIG_MODEL(RIG_MODEL_FT817),
.model_name = "FT-817",
.mfg_name = "Yaesu",
.version = "20230422.0",
.version = "20230424.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
Expand Down Expand Up @@ -442,7 +442,7 @@ const struct rig_caps ft818_caps =
RIG_MODEL(RIG_MODEL_FT818),
.model_name = "FT-818",
.mfg_name = "Yaesu",
.version = "20220419.0",
.version = "20220424.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
Expand Down Expand Up @@ -682,7 +682,7 @@ static int ft817_read_eeprom(RIG *rig, unsigned short addr, unsigned char *out)
YAESU_CMD_LENGTH);

data[0] = addr >> 8;
data[1] = addr & 0xfe;
data[1] = addr & 0xff;

write_block(&rig->state.rigport, data, YAESU_CMD_LENGTH);

Expand Down Expand Up @@ -1418,7 +1418,7 @@ static int ft817_set_vfo(RIG *rig, vfo_t vfo)
vfo_t curvfo;
int retval;

rig_debug(RIG_DEBUG_VERBOSE, "%s: called \n", __func__);
rig_debug(RIG_DEBUG_VERBOSE, "%s: called vfo=%s\n", __func__, rig_strvfo(vfo));

retval = ft817_get_vfo(rig, &curvfo);

Expand Down

0 comments on commit da94c8b

Please sign in to comment.