refactor: All SYS_INIT functions are void args.
This commit is contained in:
parent
f4fce9e158
commit
bf4008da02
21 changed files with 20 additions and 29 deletions
|
|
@ -177,7 +177,7 @@ int zmk_usb_hid_send_mouse_report() {
|
|||
}
|
||||
#endif // IS_ENABLED(CONFIG_ZMK_MOUSE)
|
||||
|
||||
static int zmk_usb_hid_init(const struct device *_arg) {
|
||||
static int zmk_usb_hid_init(void) {
|
||||
hid_dev = device_get_binding("HID_0");
|
||||
if (hid_dev == NULL) {
|
||||
LOG_ERR("Unable to locate HID device");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue