kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
fa4302ceaa
commit
e57774cfde
|
@ -35,6 +35,7 @@
|
||||||
|
|
||||||
#include "hamlib/rig.h"
|
#include "hamlib/rig.h"
|
||||||
#include "serial.h"
|
#include "serial.h"
|
||||||
|
#include "misc.h"
|
||||||
|
|
||||||
#define RSHFIQ_INIT_RETRY 5
|
#define RSHFIQ_INIT_RETRY 5
|
||||||
|
|
||||||
|
@ -226,7 +227,7 @@ static int rshfiq_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||||
|
|
||||||
static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called. level type =%lu\n", __func__, level);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called. level type =%"PRIll"\n", __func__, level);
|
||||||
|
|
||||||
char cmdstr[15];
|
char cmdstr[15];
|
||||||
char stopset[2];
|
char stopset[2];
|
||||||
|
@ -320,7 +321,7 @@ static int rshfiq_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val)
|
||||||
break;
|
break;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: Unrecognized RIG_LEVEL_* enum: %lu\n", __func__, level);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s: Unrecognized RIG_LEVEL_* enum: %"PRIll"\n", __func__, level);
|
||||||
return -RIG_EDOM;
|
return -RIG_EDOM;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue