code P1345 means the distributor is out of sync with the crankshaft.
the way you clear the code is to use a scan tool and monitor the
cam retard offset when the engine rpm is at about 1000, if the cam retard shows a value of 0 degrees plus or minus 2 degrees all is good! if not then you need to adjust the distributor.
you turn the distributor until you get 0 degrees cam retard while at 1000 rpms.