X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=common%2Feeconfig.h;h=e1b5ae282f032ebcc9554ae17f67d61e32b8c70e;hb=ac570686b6bde1e5066ea68636ae780392739cb4;hp=0b605fc7bfdaae848044a638d43205e08c61437f;hpb=9de9d719527c7a8cac71d0bc49ba1d2d4f63cf06;p=max%2Ftmk_keyboard.git
diff --git a/common/eeconfig.h b/common/eeconfig.h
index 0b605fc7..e1b5ae28 100644
--- a/common/eeconfig.h
+++ b/common/eeconfig.h
@@ -19,6 +19,7 @@ along with this program. If not, see .
#define EECONFIG_H
#include
+#include
#define EECONFIG_MAGIC_NUMBER (uint16_t)0xFEED
@@ -29,6 +30,7 @@ along with this program. If not, see .
#define EECONFIG_DEFAULT_LAYER (uint8_t *)3
#define EECONFIG_KEYMAP (uint8_t *)4
#define EECONFIG_MOUSEKEY_ACCEL (uint8_t *)5
+#define EECONFIG_BACKLIGHT (uint8_t *)6
/* debug bit */
@@ -64,4 +66,9 @@ void eeconfig_write_default_layer(uint8_t val);
uint8_t eeconfig_read_keymap(void);
void eeconfig_write_keymap(uint8_t val);
+#ifdef BACKLIGHT_ENABLE
+uint8_t eeconfig_read_backlight(void);
+void eeconfig_write_backlight(uint8_t val);
+#endif
+
#endif