From afc7d9f87cbfc0c888e3dd674b5569bb94d56d72 Mon Sep 17 00:00:00 2001 From: Stefan Dorn Date: Sun, 12 Jun 2016 03:55:36 +0100 Subject: [PATCH] cleanup --- src/keyboard/controller.h | 1 - src/main.c | 35 ----------------------------------- src/main.h | 1 - 3 files changed, 37 deletions(-) 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<