From 3ccbb041e30fe1a38e5e247b92086585d8a4eaf4 Mon Sep 17 00:00:00 2001 From: mitchellcairns Date: Thu, 28 Dec 2023 00:01:58 -0800 Subject: [PATCH] Update esp_hid_common.h add #ifndef BT_HID_DEVICE_TASK_SIZE to set a default --- components/esp_hid/include/esp_hid_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/esp_hid/include/esp_hid_common.h b/components/esp_hid/include/esp_hid_common.h index d7582cbc84..3fff39208c 100644 --- a/components/esp_hid/include/esp_hid_common.h +++ b/components/esp_hid/include/esp_hid_common.h @@ -23,6 +23,11 @@ extern "C" { #include #include +/* 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