summaryrefslogtreecommitdiff
path: root/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'globals.h')
-rw-r--r--globals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/globals.h b/globals.h
index 135b915..5dd0d31 100644
--- a/globals.h
+++ b/globals.h
@@ -194,6 +194,7 @@
#define zero_equiv_timing 1e-10
#define max_v_dymanic_range 1e6
+#define max_attens 8
/* general formatting */
#define remote_digits_after_decimal 4 /* how many digits are returned after decimal by query commands */
@@ -616,7 +617,7 @@ typedef struct {
char current_limit_dac[max_channels]; /* 8422 */
char hard_current_limit_enabled[max_channels]; /* 8424 */
- short wait_states_after_sock_init; /* 8426 */
+ short wait_states_after_sock_init; /* 8426 - no longer used */
char aux_error_message[40]; /* 8428 */
@@ -698,6 +699,9 @@ typedef struct {
// PG A = pw range 0, ampl range 0
// PG B = pw range 1, ampl range 1
// PG C = pw range 2+, ampl range 2
+
+ float attenuators[max_channels][max_attens]; // addr 10070
+
char spare_end;
char flash_end;