[Keyboard] Fix knops keymaps (#13872)

This commit is contained in:
Dasky
2021-08-04 20:10:31 +01:00
committed by GitHub
parent 3568eafd65
commit 3917fd5639
5 changed files with 82 additions and 82 deletions

View File

@@ -82,10 +82,10 @@ void set_led_state(int ledId, bool state) {
}
}
void led_init_ports_user() {
void led_init_ports_user(void) {
PORTB |= (1 << 7);
DDRB &= ~(1<<7);
DDRD |= (1<<7);
DDRC |= (1<<6);
DDRC |= (1<<7);
@@ -107,9 +107,9 @@ void led_set_layer(int layer) {
void matrix_init_user(void) {
led_init_ports_user();
led_set_layer(1);
/*KNOPS_INIT*/
}
@@ -132,11 +132,11 @@ void led_set_user(uint8_t usb_led) {
}
bool process_record_user (uint16_t keycode, keyrecord_t *record) {
/*KNOPS_PROCESS_STATE*/
return NULL;
}