소스 검색

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 년 전
부모
커밋
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_functions.h"
 #include "alarm.h"
-//#include "app_button.h"
+#include "app_button.h"
 #if	(BUT_PROFILE_CFG)
 #include "button_pro.h"
 #endif	///BUT_PROFILE_CFG