From e8af3447aa62ec15ac363a9d706910513f29f0e8 Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Tue, 6 Jun 2023 08:36:50 -0500 Subject: [PATCH] Fix ft817.c build for MacOS and Pi https://github.com/Hamlib/Hamlib/issues/1308 --- rigs/yaesu/ft817.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rigs/yaesu/ft817.c b/rigs/yaesu/ft817.c index b2086c613..6cc77009c 100644 --- a/rigs/yaesu/ft817.c +++ b/rigs/yaesu/ft817.c @@ -1504,6 +1504,7 @@ static int ft817_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) case RIG_MODE_PKTLSB: case RIG_MODE_PSK: case RIG_MODE_PSKR: + { // first we get our dig mode to see if it needs changing unsigned char digmode[2]; int ret = ft817_read_eeprom(rig, 0x65, digmode); @@ -1561,6 +1562,7 @@ static int ft817_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) } return RIG_OK; + } case RIG_MODE_FM: index = FT817_NATIVE_CAT_SET_MODE_FM;