Skip to content

Commit

Permalink
include: usb_hid: remove conditional definition from struct hid_ops
Browse files Browse the repository at this point in the history
For upcoming HID support in the new device stack and to provide API
backward compatibility, there must be no conditional definitions in the
header.

Signed-off-by: Johann Fischer <[email protected]>
  • Loading branch information
jfischer-no authored and nashif committed May 14, 2024
1 parent 595ee90 commit a2c9c65
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/zephyr/usb/class/usb_hid.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ struct hid_ops {
* the next transfer.
*/
hid_int_ready_callback int_in_ready;
#ifdef CONFIG_ENABLE_HID_INT_OUT_EP
hid_int_ready_callback int_out_ready;
#endif
};

/**
Expand Down

0 comments on commit a2c9c65

Please sign in to comment.