kopia lustrzana https://github.com/Hamlib/Hamlib
clean up a couple of compile warnings
rodzic
8fd78de372
commit
8ecf7b15ba
|
@ -1488,7 +1488,7 @@ int adat_get_single_cmd_result(RIG *pRig)
|
||||||
|
|
||||||
pcPos = acBuf;
|
pcPos = acBuf;
|
||||||
|
|
||||||
if ((nRC == RIG_OK))
|
if (nRC == RIG_OK)
|
||||||
{
|
{
|
||||||
int nBufLength = 0;
|
int nBufLength = 0;
|
||||||
|
|
||||||
|
|
|
@ -354,10 +354,10 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
|
||||||
|
|
||||||
/* TODO */
|
/* TODO */
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,0x%04x\n", __func__,
|
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,0x%04x\n", __func__,
|
||||||
rp->parm.serial.rate, speed);
|
(int)rp->parm.serial.rate, (int)speed);
|
||||||
cfsetispeed(&options, speed);
|
cfsetispeed(&options, speed);
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,0x%04x\n", __func__,
|
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,0x%04x\n", __func__,
|
||||||
rp->parm.serial.rate, speed);
|
(int)rp->parm.serial.rate, (int)speed);
|
||||||
cfsetospeed(&options, speed);
|
cfsetospeed(&options, speed);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue