mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(Linux) Added support for checking for multiple Bluetooth adapters
This commit is contained in:
parent
1eff0a9c94
commit
677e2fbb98
|
|
@ -201,7 +201,7 @@ void SystemStatus::getStatusBluetooth()
|
|||
hasBluetooth = true;
|
||||
|
||||
#elif defined(__linux__)
|
||||
if (hci_get_route(nullptr) == 0)
|
||||
if (hci_get_route(nullptr) != -1)
|
||||
hasBluetooth = true;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue