Fix warning in frenchdev

This commit is contained in:
npoirey 2017-06-22 10:47:44 +02:00
parent 23b0fc20e3
commit 0fb835c54c
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ void press_enter(void) {
void press_underscore(void) {
if(shift_count > 0) unregister_code (KC_LSHIFT);
register_code (BP_UNDS);
unregister_code (BP_UNDS);
register_code ((unsigned char) BP_UNDS);
unregister_code ((unsigned char) BP_UNDS);
if(shift_count > 0) register_code (KC_LSHIFT);
}