kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib
commit
205e5783d0
|
@ -676,7 +676,7 @@ int HAMLIB_API read_string(hamlib_port_t *p,
|
||||||
|
|
||||||
if (rxmax < 1)
|
if (rxmax < 1)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: error rxmax=%ld\n", __func__, rxmax);
|
rig_debug(RIG_DEBUG_ERR, "%s: error rxmax=%ld\n", __func__, (long)rxmax);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1260,7 +1260,7 @@ int HAMLIB_API elapsed_ms(struct timespec *start, int flag_start)
|
||||||
struct timespec stop;
|
struct timespec stop;
|
||||||
double elapsed_secs;
|
double elapsed_secs;
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n",__func__,start->tv_sec,start->tv_nsec);
|
rig_debug(RIG_DEBUG_TRACE, "%s: start = %ld,%ld\n",__func__,(long)start->tv_sec,(long)start->tv_nsec);
|
||||||
if (!flag_start && start->tv_nsec == 0) return 1000000;
|
if (!flag_start && start->tv_nsec == 0) return 1000000;
|
||||||
|
|
||||||
if (flag_start)
|
if (flag_start)
|
||||||
|
|
Ładowanie…
Reference in New Issue