fix commit "introduce qd as an alias for diode charge..."

inconsistent flags for the new "qd" alias.
see "check_ifparm" command.
This commit is contained in:
rlar 2017-07-25 17:39:08 +02:00
parent 5e9d54402f
commit 0143f7662e
2 changed files with 2 additions and 1 deletions

View File

@ -174,6 +174,7 @@ extern int DEVmaxnum; /* size of DEVices array */
# define IPR(a,b,c,d) { a , b , c|IF_SET|IF_REDUNDANT , d }
# define OP(a,b,c,d) { a , b , c|IF_ASK , d }
# define OPU(a,b,c,d) { a , b , c|IF_ASK|IF_UNINTERESTING , d }
# define OPUR(a,b,c,d) { a , b , c|IF_ASK|IF_UNINTERESTING|IF_REDUNDANT , d }
# define OPR(a,b,c,d) { a , b , c|IF_ASK|IF_REDUNDANT , d }
# define P(a,b,c,d) { a , b , c , d }

View File

@ -27,7 +27,7 @@ IFparm DIOpTable[] = { /* parameters */
OP("gd", DIO_CONDUCT,IF_REAL, "Diode conductance"),
OP("cd", DIO_CAP, IF_REAL, "Diode capacitance"),
OPU("charge", DIO_CHARGE, IF_REAL, "Diode capacitor charge"),
OPR("qd", DIO_CHARGE, IF_REAL, "Diode capacitor charge"),
OPUR("qd", DIO_CHARGE, IF_REAL, "Diode capacitor charge"),
OPU("capcur", DIO_CAPCUR, IF_REAL, "Diode capacitor current"),
OPU("p", DIO_POWER, IF_REAL, "Diode power"),
OPU("sens_dc",DIO_QUEST_SENS_DC, IF_REAL, "dc sensitivity "),