summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
285fccf)
Needs all 32 bits to store .1 meter resolution
Signed-off-by: Keith Packard <keithp@keithp.com>
#define I2C_PIN_SDA PINB0
#define AO_CONST_ATTRIB PROGMEM
#define I2C_PIN_SDA PINB0
#define AO_CONST_ATTRIB PROGMEM
#define FETCH_ALT(o) ((alt_t) pgm_read_dword(&altitude_table[o]))
#define AO_ALT_VALUE(x) ((x) * 10)
#define FETCH_ALT(o) ((alt_t) pgm_read_dword(&altitude_table[o]))
#define AO_ALT_VALUE(x) ((x) * 10)