Explorar o código

revert prev changes

Ivan Valkou %!s(int64=5) %!d(string=hai) anos
pai
achega
4a40b2b82a
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  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,