Add const declaration to omnivii.c

pull/799/head
Mike Black W9MDB 2021-09-11 10:15:44 -05:00
rodzic 9b15316bd1
commit 7bae5bbd3d
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -129,7 +129,7 @@ const struct rig_caps tt588_caps =
RIG_MODEL(RIG_MODEL_TT588), RIG_MODEL(RIG_MODEL_TT588),
.model_name = "TT-588 Omni VII", .model_name = "TT-588 Omni VII",
.mfg_name = "Ten-Tec", .mfg_name = "Ten-Tec",
.version = "20200113.0", .version = "20200911.0",
.copyright = "LGPL", .copyright = "LGPL",
.status = RIG_STATUS_STABLE, .status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER, .rig_type = RIG_TYPE_TRANSCEIVER,
@ -258,7 +258,7 @@ static int tt588_rxFilter[] =
sometimes get things going again, hence this hack, er, function. */ sometimes get things going again, hence this hack, er, function. */
/* Note: data should be at least data_len+1 long for null byte insertion */ /* Note: data should be at least data_len+1 long for null byte insertion */
static int tt588_transaction(RIG *rig, const char *cmd, int cmd_len, char *data, static int tt588_transaction(RIG *rig, const char *cmd, int cmd_len, char *data,
int *data_len) const int *data_len)
{ {
int i, retval = -RIG_EINTERNAL; int i, retval = -RIG_EINTERNAL;
struct rig_state *rs = &rig->state; struct rig_state *rs = &rig->state;