refactor: All SYS_INIT functions are void args.

This commit is contained in:
Peter Johanson
2023-06-23 07:19:57 +00:00
committed by Pete Johanson
parent f4fce9e158
commit bf4008da02
21 changed files with 20 additions and 29 deletions

View File

@@ -865,7 +865,7 @@ int zmk_split_bt_update_hid_indicator(zmk_hid_indicators_t indicators) {
#endif // IS_ENABLED(CONFIG_ZMK_SPLIT_PERIPHERAL_HID_INDICATORS)
int zmk_split_bt_central_init(const struct device *_arg) {
static int zmk_split_bt_central_init(void) {
k_work_queue_start(&split_central_split_run_q, split_central_split_run_q_stack,
K_THREAD_STACK_SIZEOF(split_central_split_run_q_stack),
CONFIG_ZMK_BLE_THREAD_PRIORITY, NULL);