diff options
-rw-r--r-- | flash.c | 2 | ||||
-rw-r--r-- | globals.h | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -639,7 +639,7 @@ static void initFlashValues(FlashStruct *mem) for (m=0; m<2; m++) { mem->ampl_dacval[i][k][m][j]=0; mem->ampl_pwl[i][k][m][j]=0.0; - mem->distort_pwl[i][k][m][j]=0.0; + mem->distort_dacval[i][k][m][j]=0; } mem->ampl_dacval[i][0][0][1]=dac_max; @@ -761,9 +761,9 @@ typedef struct { /* addr 10256, add ampl-dependent distort output, 10V full-scale */ - float distort_pwl[max_channels][ampl_ranges][ampl_polarities][points_in_range]; - char distort_dac[max_channels]; /* addr 11056 */ - char distort_enabled[max_channels]; /* addr 11058 */ + short distort_dacval[max_channels][ampl_ranges][ampl_polarities][points_in_range]; + char distort_dac[max_channels]; /* addr 10656 */ + char distort_enabled[max_channels]; /* addr 10658 */ char flash_end; |