From 5c3ce5b26978373202d5ddc648239af0efb14749 Mon Sep 17 00:00:00 2001 From: Tian Hao Date: Sat, 5 Nov 2016 02:50:51 +0800 Subject: [PATCH] component/bt : demo compile fix --- .../components/bluedroid_demos/app_core/bt_app_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c b/examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c index badd92f586..0c3d8ef4e9 100644 --- a/examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c +++ b/examples/06_bluedroid_demos/components/bluedroid_demos/app_core/bt_app_core.c @@ -73,7 +73,7 @@ extern void ble_server_test(void); static void bt_app_task_handler(void *arg) { - TaskEvt_t *e; + BtTaskEvt_t *e; UINT8 button_msg[2] = {0x01,0x00}; for (;;) { 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) { - TaskEvt_t *evt = (TaskEvt_t *)osi_malloc(sizeof(TaskEvt_t)); + BtTaskEvt_t *evt = (BtTaskEvt_t *)osi_malloc(sizeof(BtTaskEvt_t)); if (evt == NULL) return; -- 2.40.0