diff options
Diffstat (limited to 'device-functions.c')
-rw-r--r-- | device-functions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/device-functions.c b/device-functions.c index f3c06d3..da920d7 100644 --- a/device-functions.c +++ b/device-functions.c @@ -419,7 +419,7 @@ int Set_Pw(int check_possible_only,int word_override,int range_override,int chan cap_range_control=0; // set XTRA RLY 5 high in this range for AVR-E3-B-R5-N-M5, and other // units with PG A, B, and C. This corresponds to PG B. - globals.Registers.shift_reg_out[2] |= (long)0x80000; + globals.Registers.shift_reg_out[2] |= (long)0x80000; } else { cap_range_control = 1 << (relay_range-2); } @@ -2464,7 +2464,7 @@ int Set_VI_Control(int parameter,int channel,float new_ampl,int *point_found,int ++curr_pw_range; parse_sr = parse_sr >> 1; } - + if (globals.Flash.volt_ctrl_pw[channel]) { // ranges are shifted in these units ++curr_pw_range; |