C0040 code

You may have a wheel bearing (or hub) going bad. The slightest wobble will damage the sensor.