summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-06-06 15:37:34 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-27 11:25:58 +0900
commit8c164726e8255ffb61ea0aa28d8143775ab4c208 (patch)
tree7bd0ad23eaa129a0b43217d3da1802c61e268835 /tmk_core/common
parent1102bea97339a6fde4a059764cb7cf2f0fbf63f1 (diff)
Remove dynamic_keymap check
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/action_layer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_layer.h b/tmk_core/common/action_layer.h
index 1ecc0974da..a2734a29ee 100644
--- a/tmk_core/common/action_layer.h
+++ b/tmk_core/common/action_layer.h
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "keyboard.h"
#include "action.h"
-#if defined(LAYER_STATE_8BIT) || ( defined(DYNAMIC_KEYMAP_ENABLE) && DYNAMIC_KEYMAP_LAYER_COUNT >= 8 )
+#if defined(LAYER_STATE_8BIT)
typedef uint8_t layer_state_t;
#define get_highest_layer(state) biton8(state)
#elif defined(LAYER_STATE_16BIT)