Changed logic on pin level for launch detect.