From 22e4935be4956a64753537b906fdf85f736f7bc5 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 3 Mar 2020 15:08:38 +0100 Subject: [PATCH] port/qt-h4: swap default paths for posix/windows --- port/qt-h4/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/port/qt-h4/main.cpp b/port/qt-h4/main.cpp index 23c78fc30..5791d8c49 100644 --- a/port/qt-h4/main.cpp +++ b/port/qt-h4/main.cpp @@ -250,10 +250,10 @@ int main(int argc, char * argv[]){ // init HCI #ifdef Q_OS_WIN const btstack_uart_block_t * uart_driver = btstack_uart_block_windows_instance(); - config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT + config.device_name = "\\\\.\\COM7"; #else const btstack_uart_block_t * uart_driver = btstack_uart_block_posix_instance(); - config.device_name = "\\\\.\\COM7"; + config.device_name = "/dev/tty.usbserial-A900K2WS"; // DFROBOT #endif const hci_transport_t * transport = hci_transport_h4_instance(uart_driver); hci_init(transport, (void*) &config);