Sfoglia il codice sorgente

revert prev changes

Ivan Valkou 5 anni fa
parent
commit
4a40b2b82a
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  1. 0 4
      FreeAPS/Sources/APS/DeviceDataManager.swift

+ 0 - 4
FreeAPS/Sources/APS/DeviceDataManager.swift

@@ -250,10 +250,6 @@ extension BaseDeviceDataManager: PumpManagerDelegate {
             $0.pumpReservoirDidChange(Decimal(units))
         }
 
-        guard !pumpUpdateInProgress else {
-            completion(.failure(APSError.deviceSyncError(message: "Trying to update pump data while already updating")))
-            return
-        }
         completion(.success((
             newValue: Reservoir(startDate: Date(), unitVolume: units),
             lastValue: nil,