bump version, change HCI uart to main uart. kill main thread when done setting up bt

This commit is contained in:
lady ada
2020-06-19 18:36:22 -04:00
parent 43731b8da5
commit 56d7b740ed
4 changed files with 6 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ extern "C" {
#define SPI_BUFFER_LEN SPI_MAX_DMA_LEN
int debug = 1;
int debug = 0;
uint8_t* commandBuffer;
uint8_t* responseBuffer;
@@ -123,7 +123,8 @@ void setupBluetooth() {
// TX GPIO1 & RX GPIO3 on ESP32 'hardware' UART
// RTS on ESP_BUSY (GPIO33)
// CTS on GPIO0 (GPIO0)
uart_set_pin(UART_NUM_1, 22, 23, 33, 0);
// uart_set_pin(UART_NUM_1, 22, 23, 33, 0);
uart_set_pin(UART_NUM_1, 1, 3, 33, 0);
#else
uart_set_pin(UART_NUM_1, 23, 12, 18, 5);
uart_set_hw_flow_ctrl(UART_NUM_1, UART_HW_FLOWCTRL_CTS_RTS, 5);