clear aps result before new calculation
This commit is contained in:
parent
82f4c8ffac
commit
d34e4579fc
|
@ -103,6 +103,7 @@ public class OpenAPSMAPlugin implements PluginBase, APSInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void invoke() {
|
public void invoke() {
|
||||||
|
lastAPSResult = null;
|
||||||
DetermineBasalAdapterJS determineBasalAdapterJS = null;
|
DetermineBasalAdapterJS determineBasalAdapterJS = null;
|
||||||
try {
|
try {
|
||||||
determineBasalAdapterJS = new DetermineBasalAdapterJS(new ScriptReader(MainApp.instance().getBaseContext()));
|
determineBasalAdapterJS = new DetermineBasalAdapterJS(new ScriptReader(MainApp.instance().getBaseContext()));
|
||||||
|
|
Loading…
Reference in a new issue