forked from kofal.net/zmk
refactor: All SYS_INIT functions are void args.
This commit is contained in:
committed by
Pete Johanson
parent
f4fce9e158
commit
bf4008da02
@@ -71,7 +71,7 @@ void wpm_expiry_function(struct k_timer *_timer) { k_work_submit(&wpm_work); }
|
||||
|
||||
K_TIMER_DEFINE(wpm_timer, wpm_expiry_function, NULL);
|
||||
|
||||
int wpm_init(const struct device *_device) {
|
||||
static int wpm_init(void) {
|
||||
wpm_state = 0;
|
||||
wpm_update_counter = 0;
|
||||
k_timer_start(&wpm_timer, K_SECONDS(WPM_UPDATE_INTERVAL_SECONDS),
|
||||
|
||||
Reference in New Issue
Block a user