From e05074567a9c883e9086e4cf39addd7de2414fb3 Mon Sep 17 00:00:00 2001 From: "Michael J. Chudobiak" Date: Tue, 2 Apr 2013 11:01:19 -0400 Subject: formatting fixes --- device-functions.c | 4 ++-- globals.h | 1 + 2 files changed, 3 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; diff --git a/globals.h b/globals.h index 5dd0d31..52cf1fc 100644 --- a/globals.h +++ b/globals.h @@ -701,6 +701,7 @@ typedef struct { // PG C = pw range 2+, ampl range 2 float attenuators[max_channels][max_attens]; // addr 10070 + // smallest attenuators first char spare_end; -- cgit