Dimple: Fix Caps Lock LED behaviour (#6936)
authorErovia <Erovia@users.noreply.github.com>
Sun, 6 Oct 2019 18:15:17 +0000 (20:15 +0200)
committerfauxpark <fauxpark@gmail.com>
Sun, 6 Oct 2019 18:15:17 +0000 (05:15 +1100)
* Dimple: Fix Caps Lock LED behaviour

* Dimple: fix helper functions and cleanup unnecessary code

keyboards/lazydesigners/dimple/config.h
keyboards/lazydesigners/dimple/dimple.c

index 9814d10..5c36a72 100644 (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
index 69fb225..6bbb9a0 100644 (file)
 #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) {