Skip to content

Commit

Permalink
fix: use correct channels for getting USB HID reports
Browse files Browse the repository at this point in the history
  • Loading branch information
Univa committed Apr 4, 2024
1 parent d352912 commit a73d77b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rumcake/src/usb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub async fn usb_hid_kb_write_task<K: HIDDevice>(
{ <<NKROBootKeyboardReport as PackedStruct>::ByteArray as StaticArray>::LEN },
>,
) {
let channel = K::get_via_hid_send_channel();
let channel = K::get_keyboard_report_send_channel();

usb_task_inner!(
hid,
Expand All @@ -159,7 +159,7 @@ pub async fn usb_hid_consumer_write_task<K: HIDDevice>(
{ <<MultipleConsumerReport as PackedStruct>::ByteArray as StaticArray>::LEN },
>,
) {
let channel = K::get_via_hid_send_channel();
let channel = K::get_consumer_report_send_channel();

usb_task_inner!(
hid,
Expand Down

0 comments on commit a73d77b

Please sign in to comment.