Skip to content

Commit

Permalink
Zephyr 3.5 profile switch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Apr 14, 2024
1 parent cbc2699 commit 60e4f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/profile_switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static void zmk_profile_switch_callback(const struct device *dev, struct gpio_ca
k_work_submit_to_queue(zmk_workqueue_lowprio_work_q(), &profileswitch_work);
}

static int zmk_profile_switch_init(const struct device *_arg) {
static int zmk_profile_switch_init(void) {

if (!device_is_ready(switchgpio.port)) {
LOG_ERR("A GPIO device is not ready");
Expand Down

0 comments on commit 60e4f12

Please sign in to comment.