Browse Source

fix: Remove unneeded macro.

Jackistang 4 năm trước cách đây
mục cha
commit
831740f1bb
2 tập tin đã thay đổi với 0 bổ sung8 xóa
  1. 0 3
      include/hm_config.h
  2. 0 5
      porting/chipset/csr8311.c

+ 0 - 3
include/hm_config.h

@@ -5,9 +5,6 @@
 extern "C" {
 extern "C" {
 #endif
 #endif
 
 
-#define HM_CONFIG_BTSTACK   0   /* Use btstack or not. */
-#define HM_CONFIG_NIMBLE    1   /* Use nimble or not */
-
 #ifdef __cplusplus
 #ifdef __cplusplus
 }
 }
 #endif
 #endif

+ 0 - 5
porting/chipset/csr8311.c

@@ -2,11 +2,6 @@
 #include "hm_hci_transport_h4.h"
 #include "hm_hci_transport_h4.h"
 #include "hm_config.h"
 #include "hm_config.h"
 
 
-#if HM_CONFIG_BTSTACK
-#include "bluetooth.h"
-#include "hci_dump.h"
-#endif
-
 static uint8_t download_commands[] = {
 static uint8_t download_commands[] = {
     /* 0x2819: Read build ID */
     /* 0x2819: Read build ID */
 //    0x00, 0xFC, 0x17, 0xc2, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x19, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 //    0x00, 0xFC, 0x17, 0xc2, 0x00, 0x00, 0x09, 0x00, 0x01, 0x00, 0x19, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,