kopia lustrzana https://github.com/Hamlib/Hamlib
Progress on Expert ampctl
rodzic
1ec7dc07ec
commit
38d6858698
|
@ -111,7 +111,7 @@ int expert_transaction(AMP *amp, const unsigned char *cmd, int cmd_len, unsigned
|
||||||
int loop;
|
int loop;
|
||||||
char cmdbuf[64];
|
char cmdbuf[64];
|
||||||
int checksum=0;
|
int checksum=0;
|
||||||
int bytes;
|
int bytes = 0;
|
||||||
|
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s called, cmd=%s\n", __func__, cmd);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s called, cmd=%s\n", __func__, cmd);
|
||||||
|
|
||||||
|
@ -626,9 +626,6 @@ struct expert_priv_data *expert_priv;
|
||||||
* Private helper function prototypes
|
* Private helper function prototypes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//static int kpa1500_send_priv_cmd(AMP *amp, const char *cmd);
|
|
||||||
//static int kpa1500_flush_buffer(AMP *amp);
|
|
||||||
|
|
||||||
/* *************************************
|
/* *************************************
|
||||||
*
|
*
|
||||||
* Separate model capabilities
|
* Separate model capabilities
|
||||||
|
@ -643,7 +640,7 @@ struct expert_priv_data *expert_priv;
|
||||||
|
|
||||||
const struct amp_caps expert_amp_caps =
|
const struct amp_caps expert_amp_caps =
|
||||||
{
|
{
|
||||||
AMP_MODEL(AMP_MODEL_ELECRAFT_KPA1500),
|
AMP_MODEL(AMP_MODEL_EXPERT_FA),
|
||||||
.model_name = "1.3K-FA/1.5K-FA/2K-FA",
|
.model_name = "1.3K-FA/1.5K-FA/2K-FA",
|
||||||
.mfg_name = "Expert",
|
.mfg_name = "Expert",
|
||||||
.version = "20230320.0",
|
.version = "20230320.0",
|
||||||
|
@ -693,7 +690,7 @@ const struct amp_caps expert_amp_caps =
|
||||||
* Send command string to amplifier
|
* Send command string to amplifier
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int kpa1500_send_priv_cmd(AMP *amp, const char *cmdstr)
|
static int expert_send_priv_cmd(AMP *amp, const char *cmdstr)
|
||||||
{
|
{
|
||||||
struct amp_state *rs;
|
struct amp_state *rs;
|
||||||
int err;
|
int err;
|
||||||
|
|
|
@ -89,6 +89,7 @@ static struct
|
||||||
{ AMP_DUMMY, AMP_BACKEND_DUMMY, AMP_FUNCNAMA(dummy) },
|
{ AMP_DUMMY, AMP_BACKEND_DUMMY, AMP_FUNCNAMA(dummy) },
|
||||||
{ AMP_ELECRAFT, AMP_BACKEND_ELECRAFT, AMP_FUNCNAMA(kpa1500) },
|
{ AMP_ELECRAFT, AMP_BACKEND_ELECRAFT, AMP_FUNCNAMA(kpa1500) },
|
||||||
{ AMP_GEMINI, AMP_BACKEND_GEMINI, AMP_FUNCNAMA(gemini) },
|
{ AMP_GEMINI, AMP_BACKEND_GEMINI, AMP_FUNCNAMA(gemini) },
|
||||||
|
{ AMP_EXPERT, AMP_BACKEND_EXPERT, AMP_FUNCNAMA(expert) },
|
||||||
{ 0, NULL }, /* end */
|
{ 0, NULL }, /* end */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue