summaryrefslogtreecommitdiffstats
path: root/keyboards/xd84/xd84.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-11-17 17:06:30 +0000
committerGitHub <noreply@github.com>2020-11-17 17:06:30 +0000
commitddcb1794fa83e62e5e48536f4bc02ada63da411a (patch)
treedb5df8970f8ed22c77bdd021b781a429a5f05b49 /keyboards/xd84/xd84.c
parentadfd34c4512f6215a49a8f705ce408d6c82fb8cc (diff)
Refactor to use led config - Part 1 (#10905)
* Refactor to use led config * Refactor to use led config * Refactor to use led config * Refactor to use led config * Refactor to use led config
Diffstat (limited to 'keyboards/xd84/xd84.c')
-rw-r--r--keyboards/xd84/xd84.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/xd84/xd84.c b/keyboards/xd84/xd84.c
index eaf531421b..dec4ef95e2 100644
--- a/keyboards/xd84/xd84.c
+++ b/keyboards/xd84/xd84.c
@@ -14,19 +14,3 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "xd84.h"
-
-void keyboard_pre_init_kb(void) {
- setPinOutput(B6);
-
- keyboard_pre_init_user();
-}
-
-void led_set_kb(uint8_t usb_led) {
- if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
- writePinLow(B6);
- } else {
- writePinHigh(B6);
- }
-
- led_set_user(usb_led);
-}