diff options
author | Thomas Huber <[email protected]> | 2024-03-27 14:16:34 -0700 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2024-03-27 14:52:42 -0700 |
commit | 58ccc5970dc804857d81609857d4217278ec025c (patch) | |
tree | b79d2bd966e13b12f0f170682ce69285d32fec78 /app | |
parent | e806cd6da1cd8239f6bf549f2956c567c31cccbc (diff) | |
download | zmk-58ccc5970dc804857d81609857d4217278ec025c.tar.gz zmk-58ccc5970dc804857d81609857d4217278ec025c.zip |
fix(build): Modify function return type
Change return type of `sticky_key_timeout` function to `void` given it
does not return any value to remove compiler warnings.
Diffstat (limited to 'app')
-rw-r--r-- | app/src/behaviors/behavior_sticky_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/behaviors/behavior_sticky_key.c b/app/src/behaviors/behavior_sticky_key.c index 2c279c3be4..b0e9f3ed0c 100644 --- a/app/src/behaviors/behavior_sticky_key.c +++ b/app/src/behaviors/behavior_sticky_key.c @@ -121,7 +121,7 @@ static inline int release_sticky_key_behavior(struct active_sticky_key *sticky_k return behavior_keymap_binding_released(&binding, event); } -static inline int on_sticky_key_timeout(struct active_sticky_key *sticky_key) { +static inline void on_sticky_key_timeout(struct active_sticky_key *sticky_key) { // If the key is lazy, a release is not needed on timeout if (sticky_key->config->lazy) { clear_sticky_key(sticky_key); |