Yamaha FX Cam Position Sensor Code 24 (SOLVED)

When unwinterizing the FX, the ECU posted the CPS code. YDS check confirmed an intermittant problem. After removing some material from the sensor mounting face to move the pickup closer to the cam the problem went away.