[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. d20635dfe67e67b592699
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-30 17:06:20
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via d20635dfe67e67b5926995594bc5ff7380599bdf (commit) via d8492c66024f9aaf1e045d117807c2d72902469c (commit) from cd7811f3edbec08bcfb5bfc93d62053a9cea99d4 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d20635dfe67e67b5926995594bc5ff7380599bdf Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Jan 30 11:05:34 2021 -0600 Fix compiler warning in newcat.c diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 973217a8..16e60894 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -7064,7 +7064,7 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) { struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv; int err; - int w; + int w = 0; char main_sub_vfo = '0'; ENTERFUNC; diff --git a/rigs/yaesu/newcat.h b/rigs/yaesu/newcat.h index ba2e5096..1cef76dc 100644 --- a/rigs/yaesu/newcat.h +++ b/rigs/yaesu/newcat.h @@ -50,7 +50,7 @@ typedef char ncboolean; /* shared function version */ -#define NEWCAT_VER "20210124" +#define NEWCAT_VER "20210130" /* Hopefully large enough for future use, 128 chars plus '\0' */ #define NEWCAT_DATA_LEN 129 commit d8492c66024f9aaf1e045d117807c2d72902469c Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Jan 30 11:03:08 2021 -0600 Increase debugmsgsave size to avoid compiler warning about not big enough diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index e806a8f0..1d806c82 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -2855,7 +2855,8 @@ extern HAMLIB_EXPORT(int) rig_need_debug HAMLIB_PARAMS((enum rig_debug_level_e debug_level)); -#define DEBUGMSGSAVE_SIZE 16384 +// this need to be fairly big to avoid compiler warnings +#define DEBUGMSGSAVE_SIZE 24000 extern char debugmsgsave[DEBUGMSGSAVE_SIZE]; // last debug msg #ifndef __cplusplus #ifdef __GNUC__ ----------------------------------------------------------------------- Summary of changes: include/hamlib/rig.h | 3 ++- rigs/yaesu/newcat.c | 2 +- rigs/yaesu/newcat.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |