X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fcore%2Fao.h;fp=src%2Fcore%2Fao.h;h=ea37885e03e4c84987cea74904ee2bbc1f5ae4d5;hp=e7320327b712fd8ce50f62ae0830ada9af55276d;hb=039446f54ef6968a3f0b37ce32ca6bdcdbe62546;hpb=5c4b3658a96f1a64ccebf7bddda06b15b4ac4a6f diff --git a/src/core/ao.h b/src/core/ao.h index e7320327..ea37885e 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -342,6 +342,10 @@ ao_spi_slave(void); #define AO_GPS_DATE_VALID (1 << 6) #define AO_GPS_COURSE_VALID (1 << 7) +#define AO_GPS_NEW_DATA 1 +#define AO_GPS_NEW_TRACKING 2 + +extern __xdata uint8_t ao_gps_new; extern __pdata uint16_t ao_gps_tick; extern __xdata uint8_t ao_gps_mutex; extern __xdata struct ao_telemetry_location ao_gps_data;