소스 검색

Fix DASH pod deactivation for simulator by setting podComms delegate (#479)

Joe Moran 2 년 전
부모
커밋
ed561c9ee0
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      Dependencies/OmniBLE/OmniBLE/PumpManager/OmniBLEPumpManager.swift

+ 3 - 0
Dependencies/OmniBLE/OmniBLE/PumpManager/OmniBLEPumpManager.swift

@@ -775,6 +775,9 @@ extension OmniBLEPumpManager {
 
         self.podComms = PodComms(podState: podState, myId: state.controllerId, podId: state.podId)
 
+        self.podComms.delegate = self
+        self.podComms.messageLogger = self
+
         setState({ (state) in
             state.updatePodStateFromPodComms(podState)
             state.scheduledExpirationReminderOffset = state.defaultExpirationReminderOffset