kopia lustrzana https://github.com/Hamlib/Hamlib
Removed I/O flush ask commented by Bill, G4WJS
rodzic
9603244910
commit
ef89d52738
|
@ -399,7 +399,7 @@ int newcat_set_conf(RIG *rig, token_t token, const char *val){
|
||||||
}
|
}
|
||||||
if ((value == 0) || (value == 1)){
|
if ((value == 0) || (value == 1)){
|
||||||
priv->fast_set_commands = (int)value;
|
priv->fast_set_commands = (int)value;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return -RIG_EINVAL;
|
return -RIG_EINVAL;
|
||||||
}
|
}
|
||||||
|
@ -419,7 +419,7 @@ int newcat_set_conf(RIG *rig, token_t token, const char *val){
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int newcat_get_conf(RIG *rig, token_t token, char *val){
|
int newcat_get_conf(RIG *rig, token_t token, char *val){
|
||||||
|
|
||||||
if (rig == NULL){
|
if (rig == NULL){
|
||||||
return -RIG_EARG;
|
return -RIG_EARG;
|
||||||
}
|
}
|
||||||
|
@ -4445,7 +4445,6 @@ int newcat_set_cmd (RIG *rig)
|
||||||
|
|
||||||
/* skip validation if high throughput is needed */
|
/* skip validation if high throughput is needed */
|
||||||
if (priv->fast_set_commands == TRUE){
|
if (priv->fast_set_commands == TRUE){
|
||||||
serial_flush (&state->rigport);
|
|
||||||
return RIG_OK;
|
return RIG_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue