Merge pull request #253 from gedankenexperimenter/doc/keymaps

Fixed reference to "CREATE_KEYMAP" (should have been "KEYMAPS")
pull/255/head
Gergely Nagy 7 years ago committed by GitHub
commit bd35b9fe4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save