mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
component/bt : cleanup some missing code
This commit is contained in:
parent
ff8ce12787
commit
fd0d28afc3
@ -12,7 +12,7 @@ menu "BT UTILITY OPTION"
|
|||||||
visible if BT_ENABLED
|
visible if BT_ENABLED
|
||||||
|
|
||||||
config BT_USE_ETS_PRINT
|
config BT_USE_ETS_PRINT
|
||||||
bool "BT use print which has lock"
|
bool "BT use print which has nolock"
|
||||||
default y
|
default y
|
||||||
depends on BT_ENABLED
|
depends on BT_ENABLED
|
||||||
help
|
help
|
||||||
|
@ -56,12 +56,12 @@ enum {
|
|||||||
#define BTU_TASK_STACK_SIZE 4096
|
#define BTU_TASK_STACK_SIZE 4096
|
||||||
#define BTU_TASK_PRIO (configMAX_PRIORITIES - 1)
|
#define BTU_TASK_PRIO (configMAX_PRIORITIES - 1)
|
||||||
#define BTU_TASK_NAME "btuT"
|
#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_STACK_SIZE CONFIG_BTC_TASK_STACK_SIZE //by menuconfig
|
||||||
#define BTC_TASK_NAME "btcT"
|
#define BTC_TASK_NAME "btcT"
|
||||||
#define BTC_TASK_PRIO (configMAX_PRIORITIES - 5)
|
#define BTC_TASK_PRIO (configMAX_PRIORITIES - 5)
|
||||||
|
#define BTC_TASK_QUEUE_NUM 20
|
||||||
|
|
||||||
void btu_task_post(uint32_t sig);
|
void btu_task_post(uint32_t sig);
|
||||||
void hci_host_task_post(void);
|
void hci_host_task_post(void);
|
||||||
|
@ -200,7 +200,7 @@ void BTU_StartUp(void)
|
|||||||
goto error_exit;
|
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);
|
xTaskCreate(btu_task_thread_handler, BTU_TASK_NAME, BTU_TASK_STACK_SIZE, NULL, BTU_TASK_PRIO, &xBtuTaskHandle);
|
||||||
btu_task_post(SIG_BTU_START_UP);
|
btu_task_post(SIG_BTU_START_UP);
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user