diff --git a/keyboard/fantastic60/config.h b/keyboard/fantastic60/config.h
index 2faf944a..ca2c5d73 100755
--- a/keyboard/fantastic60/config.h
+++ b/keyboard/fantastic60/config.h
@@ -55,9 +55,10 @@ along with this program. If not, see .
#define BACKLIGHT_CUSTOM
#define CUSTOM_LED_ENABLE
+#define SOFTPWM_LED_FREQ 80
/* number of leds */
-#define LED_COUNT 5
+#define LED_COUNT 4
/* ledmap in eeprom */
#define EECONFIG_LEDMAP_IN_EEPROM 8
@@ -75,15 +76,15 @@ along with this program. If not, see .
/* PS2 mouse support */
#ifdef PS2_MOUSE_ENABLE
-#define PS2_CLOCK_PORT PORTF
-#define PS2_CLOCK_PIN PINF
-#define PS2_CLOCK_DDR DDRF
-#define PS2_CLOCK_BIT PF0
+#define PS2_CLOCK_PORT PORTF
+#define PS2_CLOCK_PIN PINF
+#define PS2_CLOCK_DDR DDRF
+#define PS2_CLOCK_BIT PF0
-#define PS2_DATA_PORT PORTF
-#define PS2_DATA_PIN PINF
-#define PS2_DATA_DDR DDRF
-#define PS2_DATA_BIT PF1
+#define PS2_DATA_PORT PORTF
+#define PS2_DATA_PIN PINF
+#define PS2_DATA_DDR DDRF
+#define PS2_DATA_BIT PF1
#endif
/*
diff --git a/keyboard/fantastic60/keymap_default.c b/keyboard/fantastic60/keymap_default.c
index 798f5407..1567954c 100644
--- a/keyboard/fantastic60/keymap_default.c
+++ b/keyboard/fantastic60/keymap_default.c
@@ -132,15 +132,12 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
break;
case AF_RGB_STEP:
rgb_step();
- dprintf("RGB Step\n");
break;
case AF_RGB_COLOR_INCREASE:
rgb_color_increase(opt);
- dprintf("RGB Increase %d\n", opt);
break;
case AF_RGB_COLOR_DECREASE:
rgb_color_decrease(opt);
- dprintf("RGB Decrease %d\n", opt);
break;
}
}
diff --git a/keyboard/fantastic60/ledmap.c b/keyboard/fantastic60/ledmap.c
index 9a0838cb..2820c8b2 100644
--- a/keyboard/fantastic60/ledmap.c
+++ b/keyboard/fantastic60/ledmap.c
@@ -44,8 +44,6 @@ void ledmap_led_init(void)
PORTE |= (1<
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#include "shift_register.h"
-
-void shift_register_init(void)
-{
- SR_DDR |= (1<> i) & 1);
- shift_register_clk();
- } while (i--);
- shift_register_latch();
-}
-
-void shift_register_write_word(uint16_t word)
-{
- uint8_t i = 15;
- do {
- shift_register_data((word >> i) & 1);
- shift_register_clk();
- } while (i--);
- shift_register_latch();
-}
-
-inline
-void shift_register_clk(void)
-{
- SR_PORT |= (1<
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
-*/
-
-#ifndef SHIFT_REGISTER_H
-#define SHIFT_REGISTER_H
-
-#include
-#include
-
-#define SR_PORT PORTF
-#define SR_DDR DDRF
-#define SR_CLK_BIT PF6
-#define SR_DATA_BIT PF5
-#define SR_LATCH_BIT PF4
-
-void shift_register_init(void);
-void shift_register_write_byte(uint8_t byte);
-void shift_register_write_word(uint16_t word);
-void shift_register_clk(void);
-void shift_register_data(uint8_t bit);
-void shift_register_latch(void);
-
-#endif