Fix warnings in planck/lucas keymap

Register the unshifted version DE_LESS, rather than the shifted DE_MORE
daktil_manuform
Fred Sundvik 2017-04-10 10:12:41 +03:00
parent df30d18458
commit a619b93e38
1 changed files with 3 additions and 3 deletions

View File

@ -153,12 +153,12 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
case 1: // M(1)
if (record->event.pressed) {
unregister_code(KC_LSFT);
register_code(DE_MORE);
register_code(DE_LESS);
} else {
unregister_code(DE_MORE);
unregister_code(DE_LESS);
}
break;
}
return MACRO_NONE;
};
};