mirror of
https://github.com/demik/quack.git
synced 2024-09-13 20:56:00 +00:00
esp_hidh_dev_open() doesn't give a toss about BLE address types in our case
This commit is contained in:
parent
bb52d6057a
commit
85fcf88209
@ -593,7 +593,11 @@ void blue_scan(void *pvParameters) {
|
||||
|
||||
/* try to connect to the last candidate found */
|
||||
if (mouse)
|
||||
#if CONFIG_BT_BLE_ENABLED
|
||||
esp_hidh_dev_open(mouse->bda, mouse->transport, mouse->ble.addr_type);
|
||||
#else
|
||||
esp_hidh_dev_open(mouse->bda, mouse->transport, NULL);
|
||||
#endif
|
||||
else
|
||||
ESP_LOGI(TAG, "devices found but no mouse detected");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user