adjust timing on bolus and carbs

This commit is contained in:
Milos Kozak 2016-07-18 21:55:01 +02:00
parent 1aa1af3d0c
commit 6147a71dd7

View file

@ -340,6 +340,7 @@ public class ExecutionService extends Service {
waitMsec(100); waitMsec(100);
} }
bolusingTreatment = null; bolusingTreatment = null;
waitMsec(200);
getPumpStatus(); getPumpStatus();
return true; return true;
} }
@ -368,6 +369,7 @@ public class ExecutionService extends Service {
Calendar time = Calendar.getInstance(); Calendar time = Calendar.getInstance();
MsgSetCarbsEntry msg = new MsgSetCarbsEntry(time, amount); MsgSetCarbsEntry msg = new MsgSetCarbsEntry(time, amount);
mSerialIOThread.sendMessage(msg); mSerialIOThread.sendMessage(msg);
waitMsec(200);
return true; return true;
} }