Result:

p0510

Generic
Type:
    Powertrain - Vehicle Speed, Idle Control, and Auxiliary Inputs - ISO/SAE Controlled
Description:
    Closed Throttle Position Switch

GM
Type:
    Powertrain - Vehicle Speed, Idle Control, and Auxiliary Inputs - ISO/SAE Controlled
Description:
    Closed Throttle Position Switch Circuit Conditions
Cause:
    Engine running, then VSS changed from 0-20 mph, then the PCM detected the Closed Throttle Position (CTP) switch did not indicate "off" (not at idle) to "on" (at idle) or from "on" to "off" during the change in vehicle speed, condition met for 16 times during the trip.

Nissan
Type:
    Powertrain - Vehicle Speed, Idle Control, and Auxiliary Inputs - ISO/SAE Controlled
Description:
    Closed throttle position (CTP) switch - circuit malfunction
Cause:
    Wiring, CTP switch, ECM

Look for code