summaryrefslogtreecommitdiffstats
path: root/keyboards/kmini
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kmini')
-rwxr-xr-xkeyboards/kmini/keymaps/default/keymap.c13
-rwxr-xr-xkeyboards/kmini/kmini.c4
2 files changed, 2 insertions, 15 deletions
diff --git a/keyboards/kmini/keymaps/default/keymap.c b/keyboards/kmini/keymaps/default/keymap.c
index 6f793a019c..3feaff5bfa 100755
--- a/keyboards/kmini/keymaps/default/keymap.c
+++ b/keyboards/kmini/keymaps/default/keymap.c
@@ -41,17 +41,8 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
void led_set_user(uint8_t usb_led) {
if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
- PORTB &= ~(1<<1); // LO
+ writePinLow(B1);
} else {
- PORTB |= (1<<1); // HI
+ writePinHigh(B1);
}
}
-
-
-void matrix_init_user(void) {
-
-}
-
-void matrix_scan_user(void) {
-
-} \ No newline at end of file
diff --git a/keyboards/kmini/kmini.c b/keyboards/kmini/kmini.c
index cd8cd68a92..1ffd30475b 100755
--- a/keyboards/kmini/kmini.c
+++ b/keyboards/kmini/kmini.c
@@ -26,7 +26,3 @@ void led_init_ports(void) {
* Side1: Low B3
* Side2: Low B2
*/
-void led_set_kb(uint8_t usb_led) {
- led_set_user(usb_led);
-}
-