Browse Source

fix the bt_reset pin

supperthomas 5 years ago
parent
commit
f06f9086dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      port/posix-h4-bcm/btstack_main.c

+ 1 - 1
port/posix-h4-bcm/btstack_main.c

@@ -184,7 +184,7 @@ int bt_stack_main(int argc, const char * argv[]){
     uart_config.device_name = transport_config.device_name;
     uart_driver->init(&uart_config);
 
-#define BT_AP6212_PIN    GET_PIN(E, 1)
+#define BT_AP6212_PIN    GET_PIN(B, 1)
      rt_pin_mode(BT_AP6212_PIN, PIN_MODE_OUTPUT);
      
      rt_pin_write(BT_AP6212_PIN, PIN_LOW);