From d280a2bec50276b1c941eeddeff97f35d6b7c756 Mon Sep 17 00:00:00 2001 From: Carlos Rafael Giani Date: Mon, 20 Mar 2023 19:33:31 +0100 Subject: [PATCH] comboctl-main: Allow fetching TDDs while the pump is suspended There is no good reason for disallowing TDD retrieval while the Combo is suspended - the TDD history screens are accessible, and TDD retrieval does not cause any insulin delivery to take place. Signed-off-by: Carlos Rafael Giani --- .../src/commonMain/kotlin/info/nightscout/comboctl/main/Pump.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/Pump.kt b/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/Pump.kt index 508b1e189b..0e76257bde 100644 --- a/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/Pump.kt +++ b/pump/combov2/comboctl/src/commonMain/kotlin/info/nightscout/comboctl/main/Pump.kt @@ -1877,6 +1877,7 @@ class Pump( suspend fun fetchTDDHistory() = executeCommand>( pumpMode = PumpIO.Mode.REMOTE_TERMINAL, isIdempotent = true, + allowExecutionWhileSuspended = true, description = FetchingTDDHistoryCommandDesc() ) { tddHistoryProgressReporter.reset(Unit)