remove duplicate setTempBasal function declaration

This commit is contained in:
AdrianLxM 2017-01-25 13:18:54 +01:00
parent 9ef4f4d9ad
commit 1328c32bb8

View file

@ -150,15 +150,6 @@ public class DetermineBasalAdapterAMAJS {
"OpenAPSAMA/determine-basal.js",
0);
mV8rt.executeVoidScript("var determine_basal = module.exports;");
mV8rt.executeVoidScript(
"var setTempBasal = function (rate, duration, profile, rT, offline) {" +
"rT.duration = duration;\n" +
" rT.rate = rate;" +
"return rT;" +
"};",
"setTempBasal.js",
0
);
}
private void initModuleParent() {