initialize lastCommandTime too after BT reset

This commit is contained in:
Milos Kozak 2017-12-20 20:55:14 +01:00
parent 0f43e95644
commit adff0329dd

View file

@ -80,7 +80,7 @@ public class QueueThread extends Thread {
mBluetoothAdapter.enable();
SystemClock.sleep(1000);
//start over again once after watchdog barked
connectionStartTime = System.currentTimeMillis();
connectionStartTime = lastCommandTime = System.currentTimeMillis();
} else {
queue.clear();
return;