From 01b1e0579ad0847d6f2667bdd5088ce406999608 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 25 Aug 2021 10:13:23 +0200 Subject: [PATCH] Bug: flackernde LEDs//flickering LEDs --- sind an und aus gegangen --- code/code.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/code/code.py b/code/code.py index f3b0aa1..d4c2478 100644 --- a/code/code.py +++ b/code/code.py @@ -107,13 +107,6 @@ while True: for k in layers[layer].keys(): keys[k].set_led(*colours[layer]) - # Turn off the layer selector LEDs if the modifier isn't held - else: - for layer in layers.keys(): - keys[layer].led_off() - - # Give some visual feedback for the modifier key - keys[0].set_led(0, 255, 25) # Loop through all of the keys in the layer and if they're pressed, get the # key code from the layer's key map