Actually do something with the basal rate profile after force-reading.
This commit is contained in:
parent
eb7ec24335
commit
9f5ffc6646
|
@ -1021,7 +1021,10 @@ public class ComboPlugin implements PluginBase, PumpInterface, ConstraintsInterf
|
||||||
.pumpErrorHistory(PumpHistoryRequest.FULL)
|
.pumpErrorHistory(PumpHistoryRequest.FULL)
|
||||||
.tddHistory(PumpHistoryRequest.FULL)
|
.tddHistory(PumpHistoryRequest.FULL)
|
||||||
);
|
);
|
||||||
runCommand(MainApp.gs(R.string.combo_actvity_reading_basal_profile), 2, ruffyScripter::readBasalProfile);
|
CommandResult readBasalResult = runCommand(MainApp.gs(R.string.combo_actvity_reading_basal_profile), 2, ruffyScripter::readBasalProfile);
|
||||||
|
if (readBasalResult.success) {
|
||||||
|
pump.basalProfile = readBasalResult.basalProfile;
|
||||||
|
}
|
||||||
ruffyScripter.disconnect();
|
ruffyScripter.disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue