hid_host_demo: use send_report instead of set_report

This commit is contained in:
Matthias Ringwald 2025-01-23 18:20:44 +01:00
parent 9bd9e110ba
commit a391ea89e1

View File

@ -194,7 +194,7 @@ static void hid_host_set_leds(void){
if (hid_host_caps_lock){
output_report[caps_lock_report_offset] = 1 << (hid_host_led_caps_lock_bit & 0x07);
}
hid_host_send_set_report(hid_host_cid, HID_REPORT_TYPE_OUTPUT, hid_host_led_report_id, output_report, hid_host_led_report_len);
hid_host_send_report(hid_host_cid, hid_host_led_report_id, output_report, hid_host_led_report_len);
}
static void hid_host_demo_lookup_caps_lock_led(void){