diff options
author | Drashna Jaelre <drashna@live.com> | 2019-05-17 15:21:45 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-17 15:21:45 -0700 |
commit | 89e9785d7a87e8dbb941dd272c032f34658169fd (patch) | |
tree | 75bb6eb561b9188aa031e0c4aee3de46afde45f7 /users/drashna/template.c | |
parent | 356521864e9f49d50131f4779ff9e56dc8b12e8f (diff) | |
download | qmk_firmware-89e9785d7a87e8dbb941dd272c032f34658169fd.tar.gz qmk_firmware-89e9785d7a87e8dbb941dd272c032f34658169fd.zip |
Update my code to use layer_state_t typedef
Diffstat (limited to 'users/drashna/template.c')
-rw-r--r-- | users/drashna/template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/drashna/template.c b/users/drashna/template.c index 0e188f3a5e..d90e6bdecf 100644 --- a/users/drashna/template.c +++ b/users/drashna/template.c @@ -62,11 +62,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { __attribute__ ((weak)) -uint32_t layer_state_set_keymap (uint32_t state) { +layer_state_t layer_state_set_keymap (layer_state_t state) { return state; } -uint32_t layer_state_set_user (uint32_t state) { +layer_state_t layer_state_set_user (layer_state_t state) { return layer_state_set_keymap (state); } |