Merge pull request #2728 from dlvoy/fix-wearos-sgv-mmol
[2.6.7] Send correct SGV history data to WearOS when mmol/L is used
This commit is contained in:
commit
eabb75e20e
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ public class WatchUpdaterService extends WearableListenerService implements Goog
|
|||
dataMap.putString("avgDelta", deltastring(glucoseStatus.avgdelta, glucoseStatus.avgdelta * Constants.MGDL_TO_MMOLL, units));
|
||||
}
|
||||
dataMap.putLong("sgvLevel", sgvLevel);
|
||||
dataMap.putDouble("sgvDouble", lastBG.value);
|
||||
dataMap.putDouble("sgvDouble", lastBG.valueToUnits(units));
|
||||
dataMap.putDouble("high", highLine);
|
||||
dataMap.putDouble("low", lowLine);
|
||||
return dataMap;
|
||||
|
|
Loading…
Reference in a new issue