initialize lastCommandTime too after BT reset
This commit is contained in:
parent
0f43e95644
commit
adff0329dd
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ public class QueueThread extends Thread {
|
||||||
mBluetoothAdapter.enable();
|
mBluetoothAdapter.enable();
|
||||||
SystemClock.sleep(1000);
|
SystemClock.sleep(1000);
|
||||||
//start over again once after watchdog barked
|
//start over again once after watchdog barked
|
||||||
connectionStartTime = System.currentTimeMillis();
|
connectionStartTime = lastCommandTime = System.currentTimeMillis();
|
||||||
} else {
|
} else {
|
||||||
queue.clear();
|
queue.clear();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue