diff options
Diffstat (limited to 'firmware/e300/battery/eeprom.c')
-rw-r--r-- | firmware/e300/battery/eeprom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/e300/battery/eeprom.c b/firmware/e300/battery/eeprom.c index f8bc172d2..79b1f9052 100644 --- a/firmware/e300/battery/eeprom.c +++ b/firmware/e300/battery/eeprom.c @@ -16,6 +16,9 @@ #include "eeprom.h" #include <avr/eeprom.h> +/* default values for eeprom */ +char eeprom[] EEMEM = {0x00, 0x00, 0x00}; + /* the avr libc wants it this way ... */ static uint8_t* EEPROM_AUTOBOOT_OFFSET = (uint8_t *) 0x00; static uint16_t *EEPROM_LAST_FULL_OFFSET = (uint16_t *) 0x04; |