wip
This commit is contained in:
@@ -15,15 +15,7 @@
|
||||
*/
|
||||
#include "wasdat.h"
|
||||
|
||||
// Optional override functions below.
|
||||
// You can leave any or all of these undefined.
|
||||
// These are only required if you want to perform custom actions.
|
||||
|
||||
void matrix_init_kb(void) {
|
||||
// put your keyboard start-up code here
|
||||
// runs once when the firmware starts up
|
||||
|
||||
matrix_init_user();
|
||||
led_init_ports();
|
||||
}
|
||||
|
||||
@@ -37,11 +29,8 @@ void led_init_ports(void) {
|
||||
}
|
||||
|
||||
bool led_update_kb(led_t led_state) {
|
||||
if(led_update_user(led_state)) {
|
||||
writePin(B0, !led_state.caps_lock);
|
||||
writePin(B1, !led_state.scroll_lock);
|
||||
writePin(B2, !led_state.num_lock);
|
||||
}
|
||||
|
||||
writePin(B0, !led_state.caps_lock);
|
||||
writePin(B1, !led_state.scroll_lock);
|
||||
writePin(B2, !led_state.num_lock);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user