aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2019-10-06 20:15:17 +0200
committerfauxpark <fauxpark@gmail.com>2019-10-07 05:15:17 +1100
commit60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce (patch)
tree150f205f7a547aeb833daf6c10d7aa2f88c3e338
parentc73d6f6ac8904395557b857a1cac551c6dd5fe9c (diff)
downloadqmk_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.h6
-rw-r--r--keyboards/lazydesigners/dimple/dimple.c4
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
18void dimple_led_on() { 18void dimple_led_on() {
19 writePinHigh(E6); 19 writePinLow(E6);
20} 20}
21 21
22void dimple_led_off() { 22void dimple_led_off() {
23 writePinLow(E6); 23 writePinHigh(E6);
24} 24}
25 25
26void keyboard_pre_init_kb(void) { 26void keyboard_pre_init_kb(void) {