esp32 hid device work well

This commit is contained in:
hathach 2023-09-27 18:15:20 +07:00
parent 3a10b6a3d5
commit 10abece264
No known key found for this signature in database
GPG Key ID: F5D50C6D51D17CBA
1 changed files with 1 additions and 1 deletions

View File

@ -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);