diff options
author | Bdale Garbee <bdale@gag.com> | 2014-06-24 21:17:53 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2014-06-24 21:17:53 -0600 |
commit | bd440afc2a6e37b74fffcf1b977e149485095316 (patch) | |
tree | 3e42f1102d68d49dae3061b9592e23907e245f23 /src/test/ao_flight_test.c | |
parent | 5d4f912bcc6784f975c82f7b0ed8dc360e60aae8 (diff) | |
parent | a0ccab8e4235934538a03f8be3b37aa1bbd6b144 (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'src/test/ao_flight_test.c')
-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; } } |