aboutsummaryrefslogtreecommitdiff
path: root/quantum/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/keyboard.c')
-rw-r--r--quantum/keyboard.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/quantum/keyboard.c b/quantum/keyboard.c
index b98fc64e4..6054faa03 100644
--- a/quantum/keyboard.c
+++ b/quantum/keyboard.c
@@ -76,6 +76,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
76#ifdef JOYSTICK_ENABLE 76#ifdef JOYSTICK_ENABLE
77# include "process_joystick.h" 77# include "process_joystick.h"
78#endif 78#endif
79#ifdef PROGRAMMABLE_BUTTON_ENABLE
80# include "programmable_button.h"
81#endif
79#ifdef HD44780_ENABLE 82#ifdef HD44780_ENABLE
80# include "hd44780.h" 83# include "hd44780.h"
81#endif 84#endif
@@ -97,9 +100,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
97#ifdef DIP_SWITCH_ENABLE 100#ifdef DIP_SWITCH_ENABLE
98# include "dip_switch.h" 101# include "dip_switch.h"
99#endif 102#endif
100#ifdef STM32_EEPROM_ENABLE
101# include "eeprom_stm32.h"
102#endif
103#ifdef EEPROM_DRIVER 103#ifdef EEPROM_DRIVER
104# include "eeprom_driver.h" 104# include "eeprom_driver.h"
105#endif 105#endif
@@ -246,9 +246,6 @@ void keyboard_setup(void) {
246 disable_jtag(); 246 disable_jtag();
247#endif 247#endif
248 print_set_sendchar(sendchar); 248 print_set_sendchar(sendchar);
249#ifdef STM32_EEPROM_ENABLE
250 EEPROM_Init();
251#endif
252#ifdef EEPROM_DRIVER 249#ifdef EEPROM_DRIVER
253 eeprom_driver_init(); 250 eeprom_driver_init();
254#endif 251#endif
@@ -548,6 +545,10 @@ MATRIX_LOOP_END:
548 digitizer_task(); 545 digitizer_task();
549#endif 546#endif
550 547
548#ifdef PROGRAMMABLE_BUTTON_ENABLE
549 programmable_button_send();
550#endif
551
551 // update LED 552 // update LED
552 if (led_status != host_keyboard_leds()) { 553 if (led_status != host_keyboard_leds()) {
553 led_status = host_keyboard_leds(); 554 led_status = host_keyboard_leds();