summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorMike <mjc@avtechpulse.com>2000-01-01 03:07:30 +0900
committerMike <mjc@avtechpulse.com>2000-01-01 03:07:30 +0900
commit28ff5a039ffe7adbcb4e9c1dd166d0273ea18f8e (patch)
tree12448cf8e4de22e83153c47b959bedbb7b033be1 /parser.c
parent83ff699011be99df03fc1e07fbdc29a6c69341e4 (diff)
first attempt at adding lower duty limit when ZOUT=MAX, for -LV option
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 55eb2b7..e128aa9 100644
--- a/parser.c
+++ b/parser.c
@@ -2741,7 +2741,7 @@ static int Go_zout_20(gchar** response, int channel, char *parameter,char *units
/* no break */
case command_withparam:
- if (status=process_two_ints (parameter, &value, globals.Flash.zout_min[channel], globals.Flash.zout_max[channel])) {
+ if (status=process_two_ints (parameter, &value, globals.Flash.zout_min[channel], globals.Constraints.err_max_zout[channel])) {
return status;
}
return Set_zout(channel,value,1);
@@ -2752,7 +2752,7 @@ static int Go_zout_20(gchar** response, int channel, char *parameter,char *units
break;
case query_param:
- return query_min_max_int(response, parameter, globals.Flash.zout_min[channel], globals.Flash.zout_max[channel]);
+ return query_min_max_int(response, parameter, globals.Flash.zout_min[channel], globals.Constraints.err_max_zout[channel]);
break;
default: