Index: dialin/hd/dialysate_inlet_flow.py =================================================================== diff -u -rd2024aeddcff9b4ac0040fd92a9c95d65708c643 -rb62ee933b0d480b0066778fac516abfb81e0739f --- dialin/hd/dialysate_inlet_flow.py (.../dialysate_inlet_flow.py) (revision d2024aeddcff9b4ac0040fd92a9c95d65708c643) +++ dialin/hd/dialysate_inlet_flow.py (.../dialysate_inlet_flow.py) (revision b62ee933b0d480b0066778fac516abfb81e0739f) @@ -502,21 +502,20 @@ message_id=MsgIds.MSG_ID_HD_DIAL_IN_FLOW_SET_CALIBRATION, payload=payload) - print("Setting dialysate flow calibration factors") + self.logger.debug("Setting dialysate flow calibration factors") # Send message received_message = self.can_interface.send(message) # If there is content... if received_message is not None: - print(received_message) # str_res = str(flow) - print("Dialysate flow calibration factors set to : " + str(gain) + ", " + str(offset) + ". " + + self.logger.debug("Dialysate flow calibration factors set to : " + str(gain) + ", " + str(offset) + ". " + str(received_message['message'][DenaliMessage.PAYLOAD_START_INDEX])) # response payload is OK or not OK return received_message['message'][DenaliMessage.PAYLOAD_START_INDEX] else: - print("Timeout!!!!") + self.logger.debug("Timeout!!!!") return False def cmd_home_dialysate_inlet_pump(self):