summaryrefslogtreecommitdiff
path: root/app/include
diff options
context:
space:
mode:
authorinnovaker <66737976+innovaker@users.noreply.github.com>2020-12-19 17:37:12 +0000
committerPete Johanson <peter@peterjohanson.com>2020-12-28 10:20:12 -0500
commit0e71dbc860e19f8eb269841a15b9fccd9ef7d37f (patch)
treef21ead85620c5d6497b905cfa03e3bc12eb9714f /app/include
parent87e7c04b00b2cb83540b757a8c909200cdb28255 (diff)
refactor(app): replace zmk_keymap_layers_state with zmk_keymap_layers_state_t
Aligns with typedef _t convention. PR: #531
Diffstat (limited to 'app/include')
-rw-r--r--app/include/zmk/keymap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/include/zmk/keymap.h b/app/include/zmk/keymap.h
index 7303d4a..1070af7 100644
--- a/app/include/zmk/keymap.h
+++ b/app/include/zmk/keymap.h
@@ -6,10 +6,10 @@
#pragma once
-typedef uint32_t zmk_keymap_layers_state;
+typedef uint32_t zmk_keymap_layers_state_t;
uint8_t zmk_keymap_layer_default();
-zmk_keymap_layers_state zmk_keymap_layer_state();
+zmk_keymap_layers_state_t zmk_keymap_layer_state();
bool zmk_keymap_layer_active(uint8_t layer);
uint8_t zmk_keymap_highest_layer_active();
int zmk_keymap_layer_activate(uint8_t layer);