tusb: optional compile tusb_task

This commit is contained in:
morris
2022-01-04 10:33:23 +08:00
parent cba1f57147
commit 6e661871c5
2 changed files with 4 additions and 5 deletions

View File

@@ -12,8 +12,6 @@
#include "tinyusb.h"
#include "tusb_tasks.h"
#if !CONFIG_TINYUSB_NO_DEFAULT_TASK
const static char *TAG = "tusb_tsk";
static TaskHandle_t s_tusb_tskh;
@@ -46,5 +44,3 @@ esp_err_t tusb_stop_task(void)
s_tusb_tskh = NULL;
return ESP_OK;
}
#endif // !CONFIG_TINYUSB_NO_DEFAULT_TASK