Look for wiimotes when "Continuous Scanning" is enabled even if a device using the MS stack is not found.
Fixed issue 6215.
This commit is contained in:
parent
0ca7ea6c3f
commit
42e97e462c
|
@ -321,7 +321,7 @@ void WiimoteScanner::WantWiimotes(bool do_want)
|
||||||
|
|
||||||
void WiimoteScanner::StartScanning()
|
void WiimoteScanner::StartScanning()
|
||||||
{
|
{
|
||||||
if (!m_run_thread && IsReady())
|
if (!m_run_thread)
|
||||||
{
|
{
|
||||||
m_run_thread = true;
|
m_run_thread = true;
|
||||||
m_scan_thread = std::thread(std::mem_fun(&WiimoteScanner::ThreadFunc), this);
|
m_scan_thread = std::thread(std::mem_fun(&WiimoteScanner::ThreadFunc), this);
|
||||||
|
|
Loading…
Reference in New Issue