Skip to content

Commit

Permalink
feat: update to Zephyr 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Feb 9, 2024
1 parent 76698d9 commit e821309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/zephyr/kscan/kscan_hhkb_pro2.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ static int kscan_hhkb_pro2_disable(const struct device *dev)

static void kscan_hhkb_pro2_work_handler(struct k_work *work)
{
struct kscan_hhkb_pro2_data *data = CONTAINER_OF(work, struct kscan_hhkb_pro2_data, poll);
struct k_work_delayable *d_work = k_work_delayable_from_work(work);
struct kscan_hhkb_pro2_data *data = CONTAINER_OF(d_work, struct kscan_hhkb_pro2_data, poll);
const struct device *dev = data->dev;
const struct kscan_hhkb_pro2_config *cfg = dev->config;
bool matrix_read[MATRIX_CELLS];
Expand Down

0 comments on commit e821309

Please sign in to comment.