kopia lustrzana https://github.com/espressif/esp-idf
component/bt : cleanup some missing code
rodzic
ff8ce12787
commit
fd0d28afc3
|
@ -12,7 +12,7 @@ menu "BT UTILITY OPTION"
|
|||
visible if BT_ENABLED
|
||||
|
||||
config BT_USE_ETS_PRINT
|
||||
bool "BT use print which has lock"
|
||||
bool "BT use print which has nolock"
|
||||
default y
|
||||
depends on BT_ENABLED
|
||||
help
|
||||
|
|
|
@ -56,12 +56,12 @@ enum {
|
|||
#define BTU_TASK_STACK_SIZE 4096
|
||||
#define BTU_TASK_PRIO (configMAX_PRIORITIES - 1)
|
||||
#define BTU_TASK_NAME "btuT"
|
||||
#define BTU_QUEUE_NUM 30
|
||||
#define BTU_QUEUE_NUM 50
|
||||
|
||||
#define BTC_TASK_QUEUE_NUM 20
|
||||
#define BTC_TASK_STACK_SIZE CONFIG_BTC_TASK_STACK_SIZE //by menuconfig
|
||||
#define BTC_TASK_NAME "btcT"
|
||||
#define BTC_TASK_PRIO (configMAX_PRIORITIES - 5)
|
||||
#define BTC_TASK_QUEUE_NUM 20
|
||||
|
||||
void btu_task_post(uint32_t sig);
|
||||
void hci_host_task_post(void);
|
||||
|
|
|
@ -200,7 +200,7 @@ void BTU_StartUp(void)
|
|||
goto error_exit;
|
||||
}
|
||||
|
||||
xBtuQueue = xQueueCreate(60, sizeof(BtTaskEvt_t));
|
||||
xBtuQueue = xQueueCreate(BTU_QUEUE_NUM, sizeof(BtTaskEvt_t));
|
||||
xTaskCreate(btu_task_thread_handler, BTU_TASK_NAME, BTU_TASK_STACK_SIZE, NULL, BTU_TASK_PRIO, &xBtuTaskHandle);
|
||||
btu_task_post(SIG_BTU_START_UP);
|
||||
/*
|
||||
|
|
Ładowanie…
Reference in New Issue