X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_host.h;h=c974a9fe5f1e37c89261245bfa3ab945d1b8bdbf;hb=7f46240dfc57164f0c1b0c4c4ed9695bca63860d;hp=f32218228ca29b658ee4a6782204957f77ed9343;hpb=99525a748e00406424b98a0952f0156437b30b6c;p=fw%2Faltos diff --git a/src/kernel/ao_host.h b/src/kernel/ao_host.h index f3221822..c974a9fe 100644 --- a/src/kernel/ao_host.h +++ b/src/kernel/ao_host.h @@ -32,7 +32,7 @@ * One set of samples read from the A/D converter */ struct ao_adc { - uint16_t tick; /* tick when the sample was read */ + AO_TICK_TYPE tick; /* tick when the sample was read */ int16_t accel; /* accelerometer */ int16_t pres; /* pressure sensor */ int16_t temp; /* temperature sensor */ @@ -41,12 +41,6 @@ struct ao_adc { int16_t sense_m; /* main continuity sense */ }; -#define const - -#define a (a) -#define a (a) -#define a (a) - enum ao_flight_state { ao_flight_startup = 0, ao_flight_idle = 1,