1
0
Fork 0

Dimple: Fix Caps Lock LED behaviour (#6936)

* Dimple: Fix Caps Lock LED behaviour

* Dimple: fix helper functions and cleanup unnecessary code
This commit is contained in:
Erovia 2019-10-06 20:15:17 +02:00 committed by fauxpark
parent c73d6f6ac8
commit 60cd12f8a4
2 changed files with 2 additions and 8 deletions

View file

@ -58,9 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* #define RGBLIGHT_SAT_STEP 8 */
/* #define RGBLIGHT_VAL_STEP 8 */
#endif
/* CapsLock LED */
#define BACKLIGHT_PIN E6
#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 6
#endif

View file

@ -16,11 +16,11 @@
#include "dimple.h"
void dimple_led_on() {
writePinHigh(E6);
writePinLow(E6);
}
void dimple_led_off() {
writePinLow(E6);
writePinHigh(E6);
}
void keyboard_pre_init_kb(void) {