From 09bd94cd6d970a59d49ccfc017bb52de43cbedc3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Oct 2011 09:14:12 +1100 Subject: [PATCH] eeprom: fixed types to be consistent with declarations --- libraries/AP_EEPROMB/AP_EEPROMB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_EEPROMB/AP_EEPROMB.cpp b/libraries/AP_EEPROMB/AP_EEPROMB.cpp index 6ea6a6b0f3..45bc68bd65 100644 --- a/libraries/AP_EEPROMB/AP_EEPROMB.cpp +++ b/libraries/AP_EEPROMB/AP_EEPROMB.cpp @@ -21,13 +21,13 @@ AP_EEPROMB::write_byte(int address, int8_t value) } void -AP_EEPROMB::write_int(int address, int value) +AP_EEPROMB::write_int(int address, int16_t value) { eeprom_write_word((uint16_t *) address, value); } void -AP_EEPROMB::write_long(int address, long value) +AP_EEPROMB::write_long(int address, int32_t value) { eeprom_write_dword((uint32_t *) address, value); }