ultrasonic sensors works fine until i merge codes into it

I have code that uses 2 ultrasonic sensors. When 1 sensor detects an object the other sensor is enabled to confirm the 1st sensors detection.

You are welcome.

Perhaps posting your code here in code tags might produce better results.