]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - tmk_core/common/action_layer.h
Make `PREVENT_STUCK_MODIFIERS` the default (#3107)
[qmk_firmware.git] / tmk_core / common / action_layer.h
index 72a6bd8f684c13a717806065a71b3f37f2fc08e8..7bf116be2d4be23c8f9f7311c90785af09c4e784 100644 (file)
@@ -88,7 +88,7 @@ uint32_t layer_state_set_kb(uint32_t state);
 #endif
 
 /* pressed actions cache */
-#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
+#if !defined(NO_ACTION_LAYER) && !defined(STRICT_LAYER_RELEASE)
 /* The number of bits needed to represent the layer number: log2(32). */
 #define MAX_LAYER_BITS 5
 void update_source_layers_cache(keypos_t key, uint8_t layer);