Limit switch self triggering when L298 driver is used with motor