mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 23:54:33 +02:00
Fix compile isse when TinyUSB task is not enabled.
This commit is contained in:
@@ -20,6 +20,8 @@
|
|||||||
#include "tinyusb.h"
|
#include "tinyusb.h"
|
||||||
#include "tusb_tasks.h"
|
#include "tusb_tasks.h"
|
||||||
|
|
||||||
|
#if !CONFIG_TINYUSB_NO_DEFAULT_TASK
|
||||||
|
|
||||||
const static char *TAG = "tusb_tsk";
|
const static char *TAG = "tusb_tsk";
|
||||||
static TaskHandle_t s_tusb_tskh;
|
static TaskHandle_t s_tusb_tskh;
|
||||||
|
|
||||||
@@ -52,3 +54,5 @@ esp_err_t tusb_stop_task(void)
|
|||||||
s_tusb_tskh = NULL;
|
s_tusb_tskh = NULL;
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !CONFIG_TINYUSB_NO_DEFAULT_TASK
|
Reference in New Issue
Block a user