summaryrefslogtreecommitdiff
path: root/keyboards/kmini
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-05 20:37:03 +0000
committerQMK Bot <hello@qmk.fm>2021-09-05 20:37:03 +0000
commit147289e173999b132f1b97835f8d57716a2bd376 (patch)
tree8aff70bcbc2bd3bec97a8f46006dab808e9997ca /keyboards/kmini
parent673f82ebd9fb48371d815a1c4f8a5bb3d5d0bfe3 (diff)
parent8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (diff)
Merge remote-tracking branch 'origin/master' into develop
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);
-}
-