diff --git a/pump/combov2/src/main/kotlin/info/nightscout/pump/combov2/ComboV2Plugin.kt b/pump/combov2/src/main/kotlin/info/nightscout/pump/combov2/ComboV2Plugin.kt index 95cd290957..c611249569 100644 --- a/pump/combov2/src/main/kotlin/info/nightscout/pump/combov2/ComboV2Plugin.kt +++ b/pump/combov2/src/main/kotlin/info/nightscout/pump/combov2/ComboV2Plugin.kt @@ -251,14 +251,14 @@ class ComboV2Plugin @Inject constructor ( init { ComboCtlLogger.backend = AAPSComboCtlLogger(aapsLogger) - updateComboCtlLogLevel() - _pumpDescription.fillFor(PumpType.ACCU_CHEK_COMBO) } override fun onStart() { super.onStart() + updateComboCtlLogLevel() + // Check if there is a pump state in the internal SP. If not, try to // copy a pump state from the AAPS main SP. It is possible for example // that AAPS was reinstalled, and the previous settings were imported.