summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-05-19 16:07:49 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-27 11:25:58 +0900
commit04eb1226b926a0da04f3cd2df799c303773cb054 (patch)
tree4b3095acfe533a0ccf30e3282b09db46f5f065b4 /keyboards/planck
parenta393d4d43e879a0238f224732577a70a26ebe912 (diff)
Use Layer State Typedef in keymaps
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/ez/ez.c2
-rw-r--r--keyboards/planck/keymaps/default/keymap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c
index 8ff3c203f8..a6995533c9 100644
--- a/keyboards/planck/ez/ez.c
+++ b/keyboards/planck/ez/ez.c
@@ -128,7 +128,7 @@ void matrix_scan_kb(void) {
matrix_scan_user();
}
-uint32_t layer_state_set_kb(uint32_t state) {
+layer_state_t layer_state_set_kb(layer_state_t state) {
palClearPad(GPIOB, 8);
palClearPad(GPIOB, 9);
diff --git a/keyboards/planck/keymaps/default/keymap.c b/keyboards/planck/keymaps/default/keymap.c
index 03cc0049e4..05507602aa 100644
--- a/keyboards/planck/keymaps/default/keymap.c
+++ b/keyboards/planck/keymaps/default/keymap.c
@@ -176,7 +176,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
float plover_gb_song[][2] = SONG(PLOVER_GOODBYE_SOUND);
#endif
-uint32_t layer_state_set_user(uint32_t state) {
+layer_state_t layer_state_set_user(layer_state_t state) {
return update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST);
}