hello
my ford mustang 2006 4.6 gt with 155 thousand miles is giving me a P340 error, namely the camshaft position sensor, I replaced the sensor, adjusted the alternator and it charges fine, I also replaced the battery and went for a drive after 30 minutes when I turned the car off and on again the light came back on, the engine runs perfectly, the chain is not heard, what could be the problem?
my ford mustang 2006 4.6 gt with 155 thousand miles is giving me a P340 error, namely the camshaft position sensor, I replaced the sensor, adjusted the alternator and it charges fine, I also replaced the battery and went for a drive after 30 minutes when I turned the car off and on again the light came back on, the engine runs perfectly, the chain is not heard, what could be the problem?

