kopia lustrzana https://github.com/Hamlib/Hamlib
Fix debug statement in dttsp.c
rodzic
0341051c80
commit
a3ef28f8d3
|
@ -379,7 +379,7 @@ static int fetch_meter(RIG *rig, int *label, float *data, int npts)
|
|||
|
||||
buf_len = sizeof(float) * npts;
|
||||
if (sizeof(float)!=4) {
|
||||
rig_debug(RIG_DEBUG_ERR,"%s: sizeof(float)!=4, instead = %ld\n",__func__, sizeof(float));
|
||||
rig_debug(RIG_DEBUG_ERR,"%s: sizeof(float)!=4, instead = %d\n",__func__, (int)sizeof(float));
|
||||
return -RIG_EINTERNAL;
|
||||
}
|
||||
ret = read_block(&priv->meter_port, (char *)(void*)data, buf_len);
|
||||
|
|
Ładowanie…
Reference in New Issue