Merge branch 'master' of https://github.com/acinonyx/Hamlib into acinonyx-master

pull/120/head
Nate Bargmann 2019-07-11 07:13:24 -05:00
commit a91334d2b1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -212,7 +212,7 @@ easycomm_rot_move_velocity(ROT *rot, int direction, int speed)
char cmdstr[24], ackbuf[32];
int retval;
rig_debug(RIG_DEBUG_TRACE, "%s called\n", __FUNCTION__);
if(speed<0 && speed>9999) {
if(speed<0 || speed>9999) {
rig_debug(RIG_DEBUG_ERR,"%s: Invalid speed value!(0-9999) (%d)\n", __FUNCTION__, speed);
return -RIG_EINVAL;
}