projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altosui: When flashing to TeleDongle or TeleBT, match any .ihx file
[fw/altos]
/
src
/
micropeak
/
ao_pins.h
diff --git
a/src/micropeak/ao_pins.h
b/src/micropeak/ao_pins.h
index 187b25442163a47fe0d63631ba3ed226bee125ca..63e9cb1b26663ce0259d2134003d8fa334b54ae0 100644
(file)
--- a/
src/micropeak/ao_pins.h
+++ b/
src/micropeak/ao_pins.h
@@
-60,6
+60,6
@@
typedef int32_t alt_t;
#define FETCH_ALT(o) ((alt_t) pgm_read_dword(&altitude_table[o]))
-#define AO_ALT_VALUE(x) ((x) * 10)
+#define AO_ALT_VALUE(x) ((x) *
(alt_t)
10)
#endif /* _AO_PINS_H_ */