component/bt : demo compile fix

This commit is contained in:
Tian Hao 2016-11-05 02:50:51 +08:00
parent aa6fe04148
commit 5c3ce5b269

View file

@ -73,7 +73,7 @@ extern void ble_server_test(void);
static void bt_app_task_handler(void *arg) static void bt_app_task_handler(void *arg)
{ {
TaskEvt_t *e; BtTaskEvt_t *e;
UINT8 button_msg[2] = {0x01,0x00}; UINT8 button_msg[2] = {0x01,0x00};
for (;;) { for (;;) {
if (pdTRUE == xQueueReceive(xBtaApp1Queue, &e, (portTickType)portMAX_DELAY)) { if (pdTRUE == xQueueReceive(xBtaApp1Queue, &e, (portTickType)portMAX_DELAY)) {
@ -99,7 +99,7 @@ static void bt_app_task_handler(void *arg)
static void bt_app_task_post(void) static void bt_app_task_post(void)
{ {
TaskEvt_t *evt = (TaskEvt_t *)osi_malloc(sizeof(TaskEvt_t)); BtTaskEvt_t *evt = (BtTaskEvt_t *)osi_malloc(sizeof(BtTaskEvt_t));
if (evt == NULL) if (evt == NULL)
return; return;