X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fmicropeak%2Fao_pins.h;h=187b25442163a47fe0d63631ba3ed226bee125ca;hp=257b8694bc3c6301ecea048660dd3c1602e90df0;hb=24948ea1d41f2a7c96ac09e35d1250909e5726ae;hpb=285fccfa82d89b0decc3b44f413eef9d0c8f1e63 diff --git a/src/micropeak/ao_pins.h b/src/micropeak/ao_pins.h index 257b8694..187b2544 100644 --- a/src/micropeak/ao_pins.h +++ b/src/micropeak/ao_pins.h @@ -57,6 +57,7 @@ #define I2C_PIN_SDA PINB0 #define AO_CONST_ATTRIB PROGMEM +typedef int32_t alt_t; #define FETCH_ALT(o) ((alt_t) pgm_read_dword(&altitude_table[o])) #define AO_ALT_VALUE(x) ((x) * 10)