瀏覽代碼

Remove leftover != 400 condition in trio-oref; rebundle

Deniz Cengiz 11 月之前
父節點
當前提交
60ea3970db

文件差異過大導致無法顯示
+ 1 - 1
Trio/Resources/javascript/bundle/determine-basal.js


+ 1 - 0
Trio/Sources/Localizations/Main/Localizable.xcstrings

@@ -104863,6 +104863,7 @@
       }
     },
     "Glucose data is too flat" : {
+      "extractionState" : "stale",
       "localizations" : {
         "bg" : {
           "stringUnit" : {

+ 5 - 1
oref0_source_version.txt

@@ -1,6 +1,10 @@
-oref0 branch: fix-400-guard - git version: 6ad27e9
+oref0 branch: fix-400-guard - git version: 1591b14
 
 Last commits:
+1591b14 Remove leftover != 400 condition
+4204b12 Remove autoISF adjustments from glucose-get-last
+2596f3f Refactor 400 glucose guard: - Remove old 400 guard - Replace with check that only disables SMBs and keeps TBR at neutral == current basal rate, if shouldProtectDueToHIGH is not null/undefined and true - Remove all other 400 guards
+2ca5e20 Change folder name to Trio from iAPS
 6ad27e9 Merge pull request #46 from nightscout/tcd
 d98e4fc Merge pull request #45 from nightscout/tcd-fixes
 af8f79c Fix typo; remove enableDynamicCR setting from profile/index.js

+ 1 - 1
trio-oref/lib/determine-basal/determine-basal.js

@@ -436,7 +436,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_
         rT.reason = "If current system time " + systemTime + " is correct, then BG data is too old. The last BG data was read "+minAgo+"m ago at "+bgTime;
 
         // if BG is too old/noisy, or is completely unchanging, cancel any high temps and shorten any long zero temps
-    } else if ( glucose_status.short_avgdelta === 0 && glucose_status.long_avgdelta === 0 && bg != 400 ) {
+    } else if ( glucose_status.short_avgdelta === 0 && glucose_status.long_avgdelta === 0 ) {
         if ( glucose_status.last_cal && glucose_status.last_cal < 3 ) {
             rT.reason = "CGM was just calibrated";
         } else {