Bläddra i källkod

Dimple: Fix Caps Lock LED behaviour (#6936)

* Dimple: Fix Caps Lock LED behaviour

* Dimple: fix helper functions and cleanup unnecessary code
Erovia 5 år sedan
förälder
incheckning
60cd12f8a4
2 ändrade filer med 2 tillägg och 8 borttagningar
  1. 0 6
      keyboards/lazydesigners/dimple/config.h
  2. 2 2
      keyboards/lazydesigners/dimple/dimple.c

+ 0 - 6
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

+ 2 - 2
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) {