summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners/the50
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lazydesigners/the50')
-rw-r--r--keyboards/lazydesigners/the50/config.h5
-rw-r--r--keyboards/lazydesigners/the50/info.json2
-rw-r--r--keyboards/lazydesigners/the50/rules.mk6
-rw-r--r--keyboards/lazydesigners/the50/the50.c4
4 files changed, 4 insertions, 13 deletions
diff --git a/keyboards/lazydesigners/the50/config.h b/keyboards/lazydesigners/the50/config.h
index 53ee2b2bbb..cc49085e3a 100644
--- a/keyboards/lazydesigners/the50/config.h
+++ b/keyboards/lazydesigners/the50/config.h
@@ -1,6 +1,5 @@
#pragma once
-#include "config_common.h"
/* key matrix size */
#define MATRIX_ROWS 4
@@ -13,15 +12,11 @@
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* number of backlight levels */
#define BACKLIGHT_PIN B6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 6
#endif
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/lazydesigners/the50/info.json b/keyboards/lazydesigners/the50/info.json
index ebf94646be..e6243e4add 100644
--- a/keyboards/lazydesigners/the50/info.json
+++ b/keyboards/lazydesigners/the50/info.json
@@ -8,6 +8,8 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/lazydesigners/the50/rules.mk b/keyboards/lazydesigners/the50/rules.mk
index c9f848a018..0cc1bff411 100644
--- a/keyboards/lazydesigners/the50/rules.mk
+++ b/keyboards/lazydesigners/the50/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/lazydesigners/the50/the50.c b/keyboards/lazydesigners/the50/the50.c
index 4ceb3da6ab..35c678fd5e 100644
--- a/keyboards/lazydesigners/the50/the50.c
+++ b/keyboards/lazydesigners/the50/the50.c
@@ -1,9 +1,9 @@
#include "the50.h"
-void the50_led_on() {
+void the50_led_on(void) {
DDRB |= (1 << 7); PORTB &= ~(1 << 7);
}
-void the50_led_off() {
+void the50_led_off(void) {
DDRB &= ~(1 << 7); PORTB &= ~(1 << 7);
}