diff options
author | Erovia <Erovia@users.noreply.github.com> | 2019-10-06 20:15:17 +0200 |
---|---|---|
committer | fauxpark <fauxpark@gmail.com> | 2019-10-07 05:15:17 +1100 |
commit | 60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce (patch) | |
tree | 150f205f7a547aeb833daf6c10d7aa2f88c3e338 | |
parent | c73d6f6ac8904395557b857a1cac551c6dd5fe9c (diff) | |
download | qmk_firmware-60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce.tar.gz qmk_firmware-60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce.zip |
Dimple: Fix Caps Lock LED behaviour (#6936)
* Dimple: Fix Caps Lock LED behaviour
* Dimple: fix helper functions and cleanup unnecessary code
-rw-r--r-- | keyboards/lazydesigners/dimple/config.h | 6 | ||||
-rw-r--r-- | keyboards/lazydesigners/dimple/dimple.c | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/lazydesigners/dimple/config.h b/keyboards/lazydesigners/dimple/config.h index 9814d1050..5c36a7252 100644 --- a/keyboards/lazydesigners/dimple/config.h +++ b/keyboards/lazydesigners/dimple/config.h | |||
@@ -58,9 +58,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
58 | /* #define RGBLIGHT_SAT_STEP 8 */ | 58 | /* #define RGBLIGHT_SAT_STEP 8 */ |
59 | /* #define RGBLIGHT_VAL_STEP 8 */ | 59 | /* #define RGBLIGHT_VAL_STEP 8 */ |
60 | #endif | 60 | #endif |
61 | |||
62 | /* CapsLock LED */ | ||
63 | #define BACKLIGHT_PIN E6 | ||
64 | #ifdef BACKLIGHT_PIN | ||
65 | #define BACKLIGHT_LEVELS 6 | ||
66 | #endif | ||
diff --git a/keyboards/lazydesigners/dimple/dimple.c b/keyboards/lazydesigners/dimple/dimple.c index 69fb2253f..6bbb9a047 100644 --- a/keyboards/lazydesigners/dimple/dimple.c +++ b/keyboards/lazydesigners/dimple/dimple.c | |||
@@ -16,11 +16,11 @@ | |||
16 | #include "dimple.h" | 16 | #include "dimple.h" |
17 | 17 | ||
18 | void dimple_led_on() { | 18 | void dimple_led_on() { |
19 | writePinHigh(E6); | 19 | writePinLow(E6); |
20 | } | 20 | } |
21 | 21 | ||
22 | void dimple_led_off() { | 22 | void dimple_led_off() { |
23 | writePinLow(E6); | 23 | writePinHigh(E6); |
24 | } | 24 | } |
25 | 25 | ||
26 | void keyboard_pre_init_kb(void) { | 26 | void keyboard_pre_init_kb(void) { |