Prechádzať zdrojové kódy

revert prev changes

Ivan Valkou 5 rokov pred
rodič
commit
4a40b2b82a

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

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