summaryrefslogtreecommitdiff
path: root/src/micropeak/ao_pins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/micropeak/ao_pins.h')
-rw-r--r--src/micropeak/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
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)