Selaa lähdekoodia

Remove rounding

Jon Mårtensson 4 vuotta sitten
vanhempi
commit
fa51540d22

+ 1 - 1
FreeAPS/Resources/javascript/middleware/determine_basal.js

@@ -403,7 +403,7 @@ function middleware(iob, currenttemp, glucose, profile, autosens, meal, reservoi
         }
         }
         
         
         // Set the new ratio
         // Set the new ratio
-        autosens.ratio = round(newRatio, 5);
+        autosens.ratio = newRatio;
         
         
         logOutPut = startLog + dataLog + bgLog + afLog + formula + log + logTDD + logBolus + logTempBasal + logBasal;
         logOutPut = startLog + dataLog + bgLog + afLog + formula + log + logTDD + logBolus + logTempBasal + logBasal;
     } else if (chrisFormula == false && useDynamicCR == true) {
     } else if (chrisFormula == false && useDynamicCR == true) {