summaryrefslogtreecommitdiffstats
path: root/tmk_core/common/eeprom.h
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-06-16 21:01:21 +0200
committerFred Sundvik <fsundvik@gmail.com>2017-06-18 20:10:42 +0200
commitd29906cb64f3c49da43c209ce341e577278e5fad (patch)
treee71f81b252057b1be2968011276d402f888dc5d6 /tmk_core/common/eeprom.h
parentf646f00b93b0caeb045d4aabd3b3b985f0f06402 (diff)
downloadqmk_firmware-d29906cb64f3c49da43c209ce341e577278e5fad.tar.gz
qmk_firmware-d29906cb64f3c49da43c209ce341e577278e5fad.tar.xz
Emulate eeprom
Diffstat (limited to 'tmk_core/common/eeprom.h')
-rw-r--r--tmk_core/common/eeprom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/eeprom.h b/tmk_core/common/eeprom.h
index 2cc2ccee3..3696d0df3 100644
--- a/tmk_core/common/eeprom.h
+++ b/tmk_core/common/eeprom.h
@@ -4,6 +4,8 @@
#if defined(__AVR__)
#include <avr/eeprom.h>
#else
+#include <stdint.h>
+
uint8_t eeprom_read_byte (const uint8_t *__p);
uint16_t eeprom_read_word (const uint16_t *__p);
uint32_t eeprom_read_dword (const uint32_t *__p);