summaryrefslogtreecommitdiff
path: root/keyboards/mitosis/mitosis.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mitosis/mitosis.c')
-rw-r--r--keyboards/mitosis/mitosis.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/keyboards/mitosis/mitosis.c b/keyboards/mitosis/mitosis.c
index f965f2a048..1ca7276e41 100644
--- a/keyboards/mitosis/mitosis.c
+++ b/keyboards/mitosis/mitosis.c
@@ -5,13 +5,12 @@ void uart_init(void) {
}
void led_init(void) {
- DDRD |= (1<<1);
- PORTD |= (1<<1);
- DDRF |= (1<<4) | (1<<5);
- PORTF |= (1<<4) | (1<<5);
+ DDRD |= (1<<1); // Pin to green, set as output
+ PORTD |= (1<<1); // Turn it off
+ DDRF |= (1<<4) | (1<<5); // Pins to red and blue, set as output
+ PORTF |= (1<<4) | (1<<5); // Turn them off
}
-
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
@@ -20,16 +19,6 @@ void matrix_init_kb(void) {
led_init();
}
-void matrix_scan_kb(void) {
- // put your looping keyboard code here
- // runs every cycle (a lot)
- matrix_scan_user();
-}
-
-void led_set_kb(uint8_t usb_led) {
-
-}
-
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {