kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
5f825aa0d4
commit
1fbb03fa92
|
@ -10,7 +10,7 @@ RIGSRC = hamlibdatetime.h rig.c serial.c serial.h misc.c misc.h register.c regis
|
|||
network.c network.h cm108.c cm108.h gpio.c gpio.h idx_builtin.h token.h \
|
||||
par_nt.h microham.c microham.h amplifier.c amp_reg.c amp_conf.c \
|
||||
amp_conf.h amp_settings.c extamp.c sleep.c sleep.h sprintflst.c \
|
||||
sprintflst.h cache.c cache.h snapshot_data.c snapshot_data.h multicast.c fifo.c fifo.h \
|
||||
sprintflst.h cache.c cache.h snapshot_data.c snapshot_data.h fifo.c fifo.h \
|
||||
serial_cfg_params.h
|
||||
|
||||
if VERSIONDLL
|
||||
|
|
|
@ -1417,8 +1417,8 @@ static int read_string_generic(hamlib_port_t *p,
|
|||
if (errno == EAGAIN)
|
||||
{
|
||||
hl_usleep(5 * 1000);
|
||||
rig_debug(RIG_DEBUG_WARN, "%s: port_read is busy? direct=%d\n", __func__,
|
||||
direct);
|
||||
// rig_debug(RIG_DEBUG_WARN, "%s: port_read is busy? direct=%d\n", __func__,
|
||||
// direct);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -31,10 +31,13 @@ int main(int argc, char *argv[])
|
|||
#endif
|
||||
rig->state.rigport.parm.serial.rate = 38400;
|
||||
rig_open(rig);
|
||||
// disabled until we change this to the other multicast capability
|
||||
#if 0
|
||||
multicast_init(rig, "224.0.0.1", 4532);
|
||||
printf("threadid=%lld\n", (long long)rig->state.multicast->threadid);
|
||||
pthread_join(rig->state.multicast->threadid, NULL);
|
||||
pthread_exit(NULL);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Ładowanie…
Reference in New Issue