Merge branch 'dev' of https://github.com/MilosKozak/AndroidAPS into dev
This commit is contained in:
commit
8c987c8be9
1 changed files with 4 additions and 4 deletions
|
@ -537,11 +537,11 @@ public class LoopPlugin extends PluginBase implements LoopInterface {
|
||||||
applySMBRequest(resultAfterConstraints, new Callback() {
|
applySMBRequest(resultAfterConstraints, new Callback() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
//Callback is only called if a bolus was acutally requested
|
// Callback is only called if a bolus was actually requested
|
||||||
if (result.enacted || result.success) {
|
if (result.enacted || result.success) {
|
||||||
lastRun.setTbrSetByPump(result);
|
lastRun.setSmbSetByPump(result);
|
||||||
lastRun.setLastTBRRequest(lastRun.getLastAPSRun());
|
lastRun.setLastSMBRequest(lastRun.getLastAPSRun());
|
||||||
lastRun.setLastTBREnact(DateUtil.now());
|
lastRun.setLastSMBEnact(DateUtil.now());
|
||||||
} else {
|
} else {
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
SystemClock.sleep(1000);
|
SystemClock.sleep(1000);
|
||||||
|
|
Loading…
Reference in a new issue