...resulting in 0 or very low carbs_hr values uploaded to Nightscout profile for mmol-users. **TODO: Evaluate if daily cr and isf averages should be used to calculate carbsHr instead of the first/"midnight values" as in current code**
@@ -769,9 +769,6 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {
isf > 0, cr > 0
{
carbsHr = settingsManager.preferences.min5mCarbimpact * 12 / isf * cr
- if settingsManager.settings.units == .mmolL {
- carbsHr *= GlucoseUnits.exchangeRate
- }
carbsHr = Decimal(round(Double(carbsHr) * 10.0)) / 10
}