kopia lustrzana https://github.com/Hamlib/Hamlib
Allow Kenwood FW command to return a custom filter setting
rodzic
09c9b01552
commit
2d85464688
|
@ -2464,6 +2464,11 @@ static int kenwood_get_filter_width(RIG *rig, rmode_t mode, pbwidth_t *width)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (filter_value >=50) // then it's probably a custom filter width
|
||||||
|
{
|
||||||
|
*width = filter_value;
|
||||||
|
return (RIG_OK);
|
||||||
|
}
|
||||||
|
|
||||||
RETURNFUNC(-RIG_EINVAL);
|
RETURNFUNC(-RIG_EINVAL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "token.h"
|
#include "token.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
|
|
||||||
#define BACKEND_VER "20220117"
|
#define BACKEND_VER "20220119"
|
||||||
|
|
||||||
#define EOM_KEN ';'
|
#define EOM_KEN ';'
|
||||||
#define EOM_TH '\r'
|
#define EOM_TH '\r'
|
||||||
|
|
Ładowanie…
Reference in New Issue