Very unlikely to be crank sensor.
To reset manually:
1. Switch on ignition leave for 30 secs.
2. Press and hold accelerator pedal steady about 1/4 of travel for 30 secs. Don't lift off.
3. Then press and hold pedal at halfway for 30 secs.
4. Press and hold pedal at 3/4 for 30 secs.
5. Foot to floor and hold for 30 secs.
6. Release and wait 30 secs.
7. Switch ignition off.
Don't do anything else like play with radio or lights.
Also, while you're under bonnet, check all the engine breather pipes and vacuum pipes for splits, security etc.