Index: dialin/hd/blood_leak.py =================================================================== diff -u -r72791ae296a0f7c118d18dd819b36ca827ae1fda -r7147fcc6886b1864910044b6c9e38227725c6ce6 --- dialin/hd/blood_leak.py (.../blood_leak.py) (revision 72791ae296a0f7c118d18dd819b36ca827ae1fda) +++ dialin/hd/blood_leak.py (.../blood_leak.py) (revision 7147fcc6886b1864910044b6c9e38227725c6ce6) @@ -30,8 +30,8 @@ """ # Blood leak detector status - BLOOD_LEAK_DETECTED = 0 # Blood detected - NO_BLOOD_LEAK_DETECTED = 1 # No blood detected + BLOOD_LEAK_DETECTED = 1 # Blood detected + NO_BLOOD_LEAK_DETECTED = 0 # No blood detected # Blood leak detector state machine states BLOOD_LEAK_INIT_STATE = 0 # Initial state @@ -140,9 +140,9 @@ self.logger.debug("Timeout!!!!") return False - def cmd_blood_leak_state_broadcast_interval_override(self, ms, reset=NO_RESET): + def cmd_blood_leak_data_broadcast_interval_override(self, ms, reset=NO_RESET): """ - Constructs and sends the blood leak state broadcast interval override command + Constructs and sends the blood leak data broadcast interval override command Constraints: Must be logged into HD. Given interval must be non-zero and a multiple of the HD general task interval (50 ms).