max3421 communication work with esp32 up to enumeration, seems still have a bit of issue

This commit is contained in:
hathach
2023-09-27 12:33:36 +07:00
parent 2f6592de7f
commit 6dc64eaa28
4 changed files with 20 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ void cdc_app_task(void* param) {
}
}
taskYIELD();
vTaskDelay(1);
}
}

View File

@@ -40,6 +40,7 @@
#include "freertos/timers.h"
#define USBH_STACK_SIZE 4096
#define CDC_STACK_SZIE 2048
#else
#include "FreeRTOS.h"
#include "semphr.h"
@@ -49,9 +50,9 @@
// Increase stack size when debug log is enabled
#define USBH_STACK_SIZE (3*configMINIMAL_STACK_SIZE/2) * (CFG_TUSB_DEBUG ? 2 : 1)
#define CDC_STACK_SZIE (3*configMINIMAL_STACK_SIZE/2)
#endif
#define CDC_STACK_SZIE (3*configMINIMAL_STACK_SIZE/2)
//--------------------------------------------------------------------+
// MACRO CONSTANT TYPEDEF PROTOTYPES