X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fkernel%2Fao_host.h;h=638dba996ca1e0a919ce8ff70dd5f0d0de8fcf4b;hp=6eb752c9636f8e2f9645eabbc7e1e1bc1105e71f;hb=6023ff81f1bbd240169b9548209133d3b02d475f;hpb=24167015705ae831692b95735968b04a876f935e diff --git a/src/kernel/ao_host.h b/src/kernel/ao_host.h index 6eb752c9..638dba99 100644 --- a/src/kernel/ao_host.h +++ b/src/kernel/ao_host.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -46,9 +47,9 @@ struct ao_adc { #define __code #define __reentrant -#define DATA_TO_XDATA(a) (a) -#define PDATA_TO_XDATA(a) (a) -#define CODE_TO_XDATA(a) (a) +#define a (a) +#define a (a) +#define a (a) enum ao_flight_state { ao_flight_startup = 0, @@ -110,7 +111,7 @@ ao_dump_state(void *wchan); void ao_sleep(void *wchan); -const char const * const ao_state_names[] = { +const char * const ao_state_names[] = { "startup", "idle", "pad", "boost", "fast", "coast", "drogue", "main", "landed", "invalid" };