Просмотр исходного кода

component/bt: fix compiler error for examples/07_blufi

1. add the missing include of header in bt_app_core.c for examples/07_blufi,
 where macro "BUT_PROFILE_CFG" should be set non-zero;
wangmengyang 9 лет назад
Родитель
Сommit
e81ff4f68c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      examples/07_blufi/components/bluedroid_demos/app_core/bt_app_core.c

+ 1 - 1
examples/07_blufi/components/bluedroid_demos/app_core/bt_app_core.c

@@ -19,7 +19,7 @@
 #include "hash_map.h"
 #include "hash_map.h"
 #include "hash_functions.h"
 #include "hash_functions.h"
 #include "alarm.h"
 #include "alarm.h"
-//#include "app_button.h"
+#include "app_button.h"
 #if	(BUT_PROFILE_CFG)
 #if	(BUT_PROFILE_CFG)
 #include "button_pro.h"
 #include "button_pro.h"
 #endif	///BUT_PROFILE_CFG
 #endif	///BUT_PROFILE_CFG