Update esp_hid_common.h

add #ifndef BT_HID_DEVICE_TASK_SIZE to set a default
This commit is contained in:
mitchellcairns 2023-12-28 00:01:58 -08:00 committed by GitHub
parent 9a36745d25
commit 3ccbb041e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,11 @@ extern "C" {
#include <stdbool.h>
#include <stdio.h>
/* HID BT Task Size Def */
#ifndef BT_HID_DEVICE_TASK_SIZE
#define BT_HID_DEVICE_TASK_SIZE 2048
#endif
/* HID Report Map Values */
#define HID_RM_INPUT 0x80
#define HID_RM_OUTPUT 0x90