summaryrefslogtreecommitdiff
path: root/keyboards/knops/mini
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/knops/mini')
-rw-r--r--keyboards/knops/mini/keymaps/default-gsm-newbs/keymap.c4
-rw-r--r--keyboards/knops/mini/keymaps/default/keymap.c4
-rw-r--r--keyboards/knops/mini/keymaps/knops/keymap.c4
-rw-r--r--keyboards/knops/mini/keymaps/mverteuil/keymap.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/knops/mini/keymaps/default-gsm-newbs/keymap.c b/keyboards/knops/mini/keymaps/default-gsm-newbs/keymap.c
index 68c96fc192..4ac904dc75 100644
--- a/keyboards/knops/mini/keymaps/default-gsm-newbs/keymap.c
+++ b/keyboards/knops/mini/keymaps/default-gsm-newbs/keymap.c
@@ -204,7 +204,7 @@ void set_layer_led(int layerId) {
}
void matrix_init_user(void) {
- led_init_ports();
+ led_init_ports_user();
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
@@ -223,7 +223,7 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
-void led_init_ports() {
+void led_init_ports_user() {
// led voor switch #1
DDRD |= (1<<7);
PORTD &= ~(1<<7);
diff --git a/keyboards/knops/mini/keymaps/default/keymap.c b/keyboards/knops/mini/keymaps/default/keymap.c
index 859f07aa07..d916aa9d13 100644
--- a/keyboards/knops/mini/keymaps/default/keymap.c
+++ b/keyboards/knops/mini/keymaps/default/keymap.c
@@ -130,7 +130,7 @@ void set_layer_led(int layerId) {
}
void matrix_init_user(void) {
- led_init_ports();
+ led_init_ports_user();
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
@@ -149,7 +149,7 @@ void matrix_init_user(void) {
void matrix_scan_user(void) {
}
-void led_init_ports() {
+void led_init_ports_user() {
// led voor switch #1
DDRD |= (1<<7);
PORTD &= ~(1<<7);
diff --git a/keyboards/knops/mini/keymaps/knops/keymap.c b/keyboards/knops/mini/keymaps/knops/keymap.c
index 7bc7fbe43d..52360d6a8f 100644
--- a/keyboards/knops/mini/keymaps/knops/keymap.c
+++ b/keyboards/knops/mini/keymaps/knops/keymap.c
@@ -82,7 +82,7 @@ void set_led_state(int ledId, bool state) {
}
}
-void led_init_ports() {
+void led_init_ports_user() {
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
@@ -106,7 +106,7 @@ void led_set_layer(int layer) {
}
void matrix_init_user(void) {
- led_init_ports();
+ led_init_ports_user();
led_set_layer(1);
diff --git a/keyboards/knops/mini/keymaps/mverteuil/keymap.c b/keyboards/knops/mini/keymaps/mverteuil/keymap.c
index 5ecba0d5a1..bd172e7aa8 100644
--- a/keyboards/knops/mini/keymaps/mverteuil/keymap.c
+++ b/keyboards/knops/mini/keymaps/mverteuil/keymap.c
@@ -270,7 +270,7 @@ void led_set_layer(int layer) {
/*
* Prepare all LED ports for output
*/
-void led_init_ports() {
+void led_init_ports_user() {
setPinOutput(D7); // Switch 1 LED
setPinOutput(C6); // Switch 2 LED Pin1
setPinOutput(C7); // Switch 2 LED Pin2
@@ -291,7 +291,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
}
void matrix_init_user(void) {
- led_init_ports();
+ led_init_ports_user();
led_init_animation();
}