[Bug] Fix layer_state restoration at end of dynamic macro feature (#16230)

This commit is contained in:
Desprez Jean-Marc 2022-02-06 17:55:16 +01:00 committed by GitHub
parent 89cc668b73
commit 5a0e129f11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ void dynamic_macro_play(keyrecord_t *macro_buffer, keyrecord_t *macro_end, int8_
clear_keyboard();
layer_state = saved_layer_state;
layer_state_set(saved_layer_state);
dynamic_macro_play_user(direction);
}