From 918f25b6230df299b83d1dd2b78e6c543065174a Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Wed, 29 Nov 2017 12:12:22 -0600 Subject: [PATCH] Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS") The macro for defining the keymap (and also storing its size (in layers)) isn't named `CREATE_KEYMAP()`; it's `KEYMAPS()`. --- src/layers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layers.cpp b/src/layers.cpp index 625c0936..27d34e88 100644 --- a/src/layers.cpp +++ b/src/layers.cpp @@ -132,7 +132,7 @@ void Layer_::move(uint8_t layer) { // Activate a given layer void Layer_::on(uint8_t layer) { // If we're trying to turn on a layer that doesn't exist, abort (but - // if the keymap wasn't defined using CREATE_KEYMAP(), proceed anyway + // if the keymap wasn't defined using the KEYMAPS() macro, proceed anyway if (layer_count != 0 && layer >= layer_count) return;