diff --git a/src/keyboard/controller.h b/src/keyboard/controller.h index 364cdea..071c2cc 100644 --- a/src/keyboard/controller.h +++ b/src/keyboard/controller.h @@ -81,7 +81,6 @@ int8_t usb_keyboard_press(uint8_t key, uint8_t modifier); int8_t usb_keyboard_send(void); extern uint8_t keyboard_modifier_keys; extern uint8_t keyboard_keys[6]; -extern volatile uint8_t keyboard_leds; extern uint16_t consumer_key; diff --git a/src/main.c b/src/main.c index 1fc0e13..33e1921 100644 --- a/src/main.c +++ b/src/main.c @@ -448,41 +448,6 @@ void kbfun_layer_sticky() { } } -// ---------------------------------------------------------------------------- -// device -// ---------------------------------------------------------------------------- - -/* - * [name] - * Jump to Bootloader - * - * [description] - * For reflashing the controller - */ - -// from PJRC (slightly modified) -// -void kbfun_jump_to_bootloader(void) { - // --- for all Teensy boards --- - - cli(); - - // disable watchdog, if enabled - // disable all peripherals - UDCON = 1; - USBCON = (1<