minor change config
This commit is contained in:
parent
2ff208bbe0
commit
6c7624fcdc
2 changed files with 7 additions and 5 deletions
|
|
@ -49,6 +49,13 @@ extern "C" {
|
|||
#error "ESP32 Arduino core version 2.0.8 or later is required"
|
||||
#endif
|
||||
|
||||
#ifndef CFG_TUSB_OS
|
||||
#define CFG_TUSB_OS OPT_OS_FREERTOS
|
||||
// clang-format off
|
||||
#define CFG_TUSB_OS_INC_PATH freertos/
|
||||
// clang-format on
|
||||
#endif
|
||||
|
||||
#ifndef CFG_TUD_LOG_LEVEL
|
||||
#define CFG_TUD_LOG_LEVEL 2
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -46,11 +46,6 @@
|
|||
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
|
||||
#include "../../arduino_tinyusb/include/tusb_config.h"
|
||||
#else
|
||||
#define CFG_TUSB_OS OPT_OS_FREERTOS
|
||||
// clang-format off
|
||||
#define CFG_TUSB_OS_INC_PATH freertos/
|
||||
// clang-format on
|
||||
|
||||
#include "arduino/ports/esp32/tusb_config_esp32.h"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue