If it really is a problem that didn't go away, it'll come back once you start driving around for a bit. What you did does not fix the problem and now you might never know what was the real problem since the code was erased. Hopefully it'll come back up and you can just get it read.