Skip to content

Commit

Permalink
Dimple: Fix Caps Lock LED behaviour (#6936)
Browse files Browse the repository at this point in the history
* Dimple: Fix Caps Lock LED behaviour

* Dimple: fix helper functions and cleanup unnecessary code
  • Loading branch information
Erovia authored and fauxpark committed Oct 6, 2019
1 parent c73d6f6 commit 60cd12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions keyboards/lazydesigners/dimple/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions keyboards/lazydesigners/dimple/dimple.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 60cd12f

Please sign in to comment.