ifparm, #13/16, res.c, missing IF_SETQUERY in an alias entry, introduce IOPQR

This commit is contained in:
rlar 2017-04-01 19:28:37 +02:00
parent 8d3acddc7b
commit cefb65507f
2 changed files with 2 additions and 1 deletions

View File

@ -160,6 +160,7 @@ extern int DEVmaxnum; /* size of DEVices array */
# define IOPXU(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_NONSENSE|IF_UNINTERESTING,\
d }
# define IOPQ(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY, d }
# define IOPQR(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY|IF_REDUNDANT, d }
# define IOPQU(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_SETQUERY|IF_UNINTERESTING,\
d }
# define IOPZ(a,b,c,d) { a, b, c|IF_SET|IF_ASK|IF_CHKQUERY, d }

View File

@ -49,7 +49,7 @@ IFparm RESmPTable[] = { /* model parameters */
IOPZ( "short", RES_MOD_SHORT, IF_REAL,"Shortening of resistor"),
IOPZR( "dlr", RES_MOD_SHORT, IF_REAL,"Shortening of resistor"),
IOPQ( "tc1", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"),
IOPR( "tc1r", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"),
IOPQR( "tc1r", RES_MOD_TC1, IF_REAL,"First order temp. coefficient"),
IOPQO( "tc2", RES_MOD_TC2, IF_REAL,"Second order temp. coefficient"),
IOPR( "tc2r", RES_MOD_TC2, IF_REAL,"Second order temp. coefficient"),
IOPQ( "tce", RES_MOD_TCE, IF_REAL,"exponential temp. coefficient"),