diff options
| author | Keith Packard <keithp@keithp.com> | 2014-06-24 15:57:13 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-06-24 15:57:13 -0700 | 
| commit | 309d91d25099bebda21e165165efa9ce86cb0a47 (patch) | |
| tree | 60a80892f00e274d2c5583639afa19c84d784ca9 | |
| parent | 443bbb09468df7c1a10f2c76996c92380d8b8c23 (diff) | |
altos/ao_flight_test: Get the Tmega version compiling again
A few changes broke this recently.
Signed-off-by: Keith Packard <keithp@keithp.com>
| -rw-r--r-- | src/test/ao_flight_test.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/src/test/ao_flight_test.c b/src/test/ao_flight_test.c index 0647fc6c..1ab22e5b 100644 --- a/src/test/ao_flight_test.c +++ b/src/test/ao_flight_test.c @@ -50,6 +50,7 @@ int ao_gps_new;  #define HAS_MMA655X		1  #define HAS_HMC5883 		1  #define HAS_BEEP		1 +#define AO_CONFIG_MAX_SIZE	1024  struct ao_adc {  	int16_t			sense[AO_ADC_NUM_SENSE]; @@ -795,6 +796,7 @@ ao_sleep(void *wchan)  					pyro->flags |= ao_pyro_values[j].flag;  					if (ao_pyro_values[j].offset != NO_VALUE && i + 1 < nword) {  						int16_t	val = strtoul(words[++i], NULL, 10); +						printf("pyro %d condition %s value %d\n", p, words[i-1], val);  						*((int16_t *) ((char *) pyro + ao_pyro_values[j].offset)) = val;  					}  				} | 
