kopia lustrzana https://github.com/Hamlib/Hamlib
pull/494/head
rodzic
aafaafd473
commit
a59bdad6f5
3
NEWS
3
NEWS
|
@ -7,6 +7,9 @@ Copyright (C) 2000-2020 Michael Black W9MDB, and others
|
||||||
Please send Hamlib bug reports to hamlib-developer@lists.sourceforge.net
|
Please send Hamlib bug reports to hamlib-developer@lists.sourceforge.net
|
||||||
|
|
||||||
Version 4.1
|
Version 4.1
|
||||||
|
* Nobody should need to use rig->caps or rig->state anymore
|
||||||
|
If you need a variable added please contact us.
|
||||||
|
Note that rig->state abstraction is not implemented yet...no need known
|
||||||
* New rig_get_caps_int and rig_get_caps_cptr functions to replace using caps-> values
|
* New rig_get_caps_int and rig_get_caps_cptr functions to replace using caps-> values
|
||||||
* New rig_get_function to replace using caps-> function pointers
|
* New rig_get_function to replace using caps-> function pointers
|
||||||
|
|
||||||
|
|
|
@ -1952,9 +1952,9 @@ enum rig_caps_int_e {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum rig_caps_cptr_e {
|
enum rig_caps_cptr_e {
|
||||||
RIG_CAPS_VERSION,
|
RIG_CAPS_VERSION_CPTR,
|
||||||
RIG_CAPS_MFG_NAME,
|
RIG_CAPS_MFG_NAME_CPTR,
|
||||||
RIG_CAPS_MODEL_NAME
|
RIG_CAPS_MODEL_NAME_CPTR
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2105,13 +2105,13 @@ const char *rig_get_caps_cptr(RIG *rig, enum rig_caps_cptr_e rig_caps)
|
||||||
{
|
{
|
||||||
switch (rig_caps)
|
switch (rig_caps)
|
||||||
{
|
{
|
||||||
case RIG_CAPS_VERSION:
|
case RIG_CAPS_VERSION_CPTR:
|
||||||
return rig->caps->version;
|
return rig->caps->version;
|
||||||
|
|
||||||
case RIG_CAPS_MFG_NAME:
|
case RIG_CAPS_MFG_NAME_CPTR:
|
||||||
return rig->caps->mfg_name;
|
return rig->caps->mfg_name;
|
||||||
|
|
||||||
case RIG_CAPS_MODEL_NAME:
|
case RIG_CAPS_MODEL_NAME_CPTR:
|
||||||
return rig->caps->model_name;
|
return rig->caps->model_name;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Ładowanie…
Reference in New Issue