Browse Source

Dimple: Fix Caps Lock LED behaviour (#6936)

* Dimple: Fix Caps Lock LED behaviour

* Dimple: fix helper functions and cleanup unnecessary code
pull/6945/head
Erovia 4 years ago
committed by fauxpark
parent
commit
60cd12f8a4
2 changed files with 2 additions and 8 deletions
  1. +0
    -6
      keyboards/lazydesigners/dimple/config.h
  2. +2
    -2
      keyboards/lazydesigners/dimple/dimple.c

+ 0
- 6
keyboards/lazydesigners/dimple/config.h View 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

+ 2
- 2
keyboards/lazydesigners/dimple/dimple.c View File

@ -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) {


Loading…
Cancel
Save