aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Erovia <Erovia@users.noreply.github.com>2019-10-06 20:15:17 +0200
committerGravatar fauxpark <fauxpark@gmail.com>2019-10-07 05:15:17 +1100
commit60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce (patch)
tree150f205f7a547aeb833daf6c10d7aa2f88c3e338
parentc73d6f6ac8904395557b857a1cac551c6dd5fe9c (diff)
downloadqmk_firmware-60cd12f8a4ac82b1dcb2c8ec0f0231c2004507ce.tar.gz
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/>.
/* #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
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 @@
#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) {