summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-09-27 18:15:20 +0700
committerhathach <[email protected]>2023-09-28 10:06:10 +0700
commit10abece264e3d5a4551be750f3c726890598a40b (patch)
treed0e6d27df30e2ed8a5a7a6fbeb9dc4a54b17e7ff
parent3a10b6a3d55e76020d0fdb6adb937f98df5638e1 (diff)
esp32 hid device work well
-rw-r--r--hw/bsp/espressif/boards/family.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/espressif/boards/family.c b/hw/bsp/espressif/boards/family.c
index e4c2c3414..4d2cab9e8 100644
--- a/hw/bsp/espressif/boards/family.c
+++ b/hw/bsp/espressif/boards/family.c
@@ -224,7 +224,7 @@ static void max3421_init(void) {
// Interrupt pin
max3421_intr_sem = xSemaphoreCreateBinary();
- xTaskCreate(max3421_intr_task, "max3421 intr", 2048, NULL, configMAX_PRIORITIES-1, NULL);
+ xTaskCreate(max3421_intr_task, "max3421 intr", 2048, NULL, configMAX_PRIORITIES-2, NULL);
gpio_set_direction(MAX3421_INTR_PIN, GPIO_MODE_INPUT);
gpio_set_intr_type(MAX3421_INTR_PIN, GPIO_INTR_NEGEDGE);