mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-25 16:43:28 +00:00
hid_host_demo: use send_report instead of set_report
This commit is contained in:
parent
9bd9e110ba
commit
a391ea89e1
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user