Demo pre-commit clang-format checker
This commit is contained in:
parent
e8fb6e6b4d
commit
3c4ffd9eae
1 changed files with 1 additions and 2 deletions
|
@ -43,8 +43,7 @@ static uint32_t activity_last_uptime;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int raise_event() {
|
int raise_event() {
|
||||||
return ZMK_EVENT_RAISE(new_zmk_activity_state_changed(
|
return ZMK_EVENT_RAISE(new_zmk_activity_state_changed((struct zmk_activity_state_changed){.state = activity_state}));
|
||||||
(struct zmk_activity_state_changed){.state = activity_state}));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int set_state(enum zmk_activity_state state) {
|
int set_state(enum zmk_activity_state state) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue