diff options
Diffstat (limited to 'tmk_core/common/keyboard.c')
-rw-r--r-- | tmk_core/common/keyboard.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tmk_core/common/keyboard.c b/tmk_core/common/keyboard.c index 132affe7a..24baf41c0 100644 --- a/tmk_core/common/keyboard.c +++ b/tmk_core/common/keyboard.c | |||
@@ -94,6 +94,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
94 | #ifdef DIP_SWITCH_ENABLE | 94 | #ifdef DIP_SWITCH_ENABLE |
95 | # include "dip_switch.h" | 95 | # include "dip_switch.h" |
96 | #endif | 96 | #endif |
97 | #ifdef STM32_EEPROM_ENABLE | ||
98 | # include "eeprom_stm32.h" | ||
99 | #endif | ||
100 | #ifdef EEPROM_DRIVER | ||
101 | # include "eeprom_driver.h" | ||
102 | #endif | ||
97 | 103 | ||
98 | static uint32_t last_input_modification_time = 0; | 104 | static uint32_t last_input_modification_time = 0; |
99 | uint32_t last_input_activity_time(void) { return last_input_modification_time; } | 105 | uint32_t last_input_activity_time(void) { return last_input_modification_time; } |
@@ -231,6 +237,12 @@ void keyboard_setup(void) { | |||
231 | disable_jtag(); | 237 | disable_jtag(); |
232 | #endif | 238 | #endif |
233 | print_set_sendchar(sendchar); | 239 | print_set_sendchar(sendchar); |
240 | #ifdef STM32_EEPROM_ENABLE | ||
241 | EEPROM_Init(); | ||
242 | #endif | ||
243 | #ifdef EEPROM_DRIVER | ||
244 | eeprom_driver_init(); | ||
245 | #endif | ||
234 | matrix_setup(); | 246 | matrix_setup(); |
235 | keyboard_pre_init_kb(); | 247 | keyboard_pre_init_kb(); |
236 | } | 248 | } |