X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fao.h;h=85b7825f759fdd73fd3473250933aaee92fa5200;hp=30511c8c2f7c49326e73bb9c02412ccb4bf237dc;hb=d6749bf24792bb41ca700cf4b8e5e1ac1a63cbf0;hpb=527d7c803ed9597b210634018cb2eb9d048d9846 diff --git a/src/ao.h b/src/ao.h index 30511c8c..85b7825f 100644 --- a/src/ao.h +++ b/src/ao.h @@ -661,6 +661,12 @@ ao_serial_getchar(void) __critical; void ao_serial_putchar(char c) __critical; +#define AO_SERIAL_SPEED_4800 0 +#define AO_SERIAL_SPEED_57600 1 + +void +ao_serial_set_speed(uint8_t speed); + void ao_serial_init(void); @@ -672,6 +678,7 @@ ao_serial_init(void); #define AO_GPS_NUM_SAT_SHIFT (0) #define AO_GPS_VALID (1 << 4) +#define AO_GPS_RUNNING (1 << 5) struct ao_gps_data { uint8_t hour;