From dfd0deb1770e0f2573a055ae0db5ff8d387d0964 Mon Sep 17 00:00:00 2001 From: Roman Leonov Date: Fri, 20 Dec 2024 09:48:54 +0100 Subject: [PATCH] change(teardown): Increase connection timeout --- .../test_apps/teardown_device/main/test_teardown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device/esp_tinyusb/test_apps/teardown_device/main/test_teardown.c b/device/esp_tinyusb/test_apps/teardown_device/main/test_teardown.c index fd27616..f5bb982 100644 --- a/device/esp_tinyusb/test_apps/teardown_device/main/test_teardown.c +++ b/device/esp_tinyusb/test_apps/teardown_device/main/test_teardown.c @@ -35,8 +35,8 @@ static uint8_t tx_buf[CONFIG_TINYUSB_CDC_TX_BUFSIZE + 1] = { 0 }; #define TEARDOWN_CMD_KEY 0xAA #define TEARDOWN_RPL_KEY 0x55 #define TEARDOWN_CMD_RPL_SIZE ((TUD_OPT_HIGH_SPEED ? 512 : 64)) -#define TEARDOWN_ATTACH_TIMEOUT_MS 2000 -#define TEARDOWN_COMMAND_TIMEOUT_MS 3000 +#define TEARDOWN_ATTACH_TIMEOUT_MS 5000 +#define TEARDOWN_COMMAND_TIMEOUT_MS 5000 #define TEARDOWN_AMOUNT 4 static const tusb_desc_device_t cdc_device_descriptor = {