X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao.h;h=af070cc11c5fdded1ca1a8e5d63b76315a57a933;hb=d225adc3af9e5726d436cbbdbf8dcc5837e50804;hp=be663775e91fab86eb119d7690a67fb961c7e1ff;hpb=b8a9273162b7016afc29f4c98fc3b66324d4c85b;p=fw%2Faltos diff --git a/src/kernel/ao.h b/src/kernel/ao.h index be663775..af070cc1 100644 --- a/src/kernel/ao.h +++ b/src/kernel/ao.h @@ -86,7 +86,7 @@ typedef AO_PORT_TYPE ao_port_t; /* Stop the operating system, beeping and blinking the reason */ void -ao_panic(uint8_t reason); +ao_panic(uint8_t reason) __attribute__((noreturn)); /* * ao_romconfig.c @@ -389,7 +389,7 @@ ao_spi_slave(void); #define AO_GPS_NEW_TRACKING 2 extern uint8_t ao_gps_new; -extern uint16_t ao_gps_tick; +extern AO_TICK_TYPE ao_gps_tick; extern uint8_t ao_gps_mutex; extern struct ao_telemetry_location ao_gps_data; extern struct ao_telemetry_satellite ao_gps_tracking_data;