1
0
Fork 0

[Bug] Develop - Change uint32_t to layer_state_t (#13596)

* fix sat75

* update uint32_t to layer_state
This commit is contained in:
Xelus22 2021-07-20 02:50:55 +10:00 committed by GitHub
parent f792aee954
commit b73a29aaea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
122 changed files with 469 additions and 469 deletions

View file

@ -99,7 +99,7 @@ static bool is_macro1_recording = false;
// There is a global 'layer_state' variable but it is set after the call
// to layer_state_set_user().
static uint32_t current_layer_state = 0;
uint32_t layer_state_set_user(uint32_t state);
layer_state_t layer_state_set_user(layer_state_t state);
// Method called at the end of the tap dance on the TAP_MACRO key. That key is
// used to start recording a macro (double tap or more), to stop recording (any
@ -202,7 +202,7 @@ void led_3_off(void) {
ergodox_right_led_3_off();
}
uint32_t layer_state_set_user(uint32_t state) {
layer_state_t layer_state_set_user(layer_state_t state) {
current_layer_state = state;
if (is_macro1_recording) {