From a73d77ba563ea2190a113672b13db73d250dc7a7 Mon Sep 17 00:00:00 2001 From: Univa <41708691+Univa@users.noreply.github.com> Date: Thu, 4 Apr 2024 10:16:07 -0400 Subject: [PATCH] fix: use correct channels for getting USB HID reports --- rumcake/src/usb.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rumcake/src/usb.rs b/rumcake/src/usb.rs index 70843c5..6726cd6 100644 --- a/rumcake/src/usb.rs +++ b/rumcake/src/usb.rs @@ -137,7 +137,7 @@ pub async fn usb_hid_kb_write_task( { <::ByteArray as StaticArray>::LEN }, >, ) { - let channel = K::get_via_hid_send_channel(); + let channel = K::get_keyboard_report_send_channel(); usb_task_inner!( hid, @@ -159,7 +159,7 @@ pub async fn usb_hid_consumer_write_task( { <::ByteArray as StaticArray>::LEN }, >, ) { - let channel = K::get_via_hid_send_channel(); + let channel = K::get_consumer_report_send_channel(); usb_task_inner!( hid,