30 miles isn't too bad on a pre spark detonation (pinging) run. Just don't do it again, obviously. If you didn't boost hard, you should be okay. Detonation can murder a turbo engine fast if you don't watch your boost, but fortunately, these engines are set up for an over rich mixture for safety, so they shouldn't run lean enough to kill your pistons. I would change the oil within the next 500 miles or so with a good 15W40 (factory recommended) or 20W50 oil if you are experiencing hotter weather.
It can do a lot of damage to an engines rod bearings if left incorrectly and driven, but your computer has signals coming in from knock sensors on the block that should have made up for a lot of over advancing.
In other words, these engines are smart enough to put up with small mistakes like this as long as they are corrected soon.
Buy a timing light and make sure that your initial advance at idle (750-800 rpm) is at 10 degrees before top dead center (TDC should be the mark on the timing cover).
The cam position sensor gear will twist when you remove the unit, so make sure that you keep an eye on where the shaft moves and KEEP it in that position when it's out. It's usually a good idea to mark it with tape on the housing and on the shaft or inductor wheel before removing it.
If you hear pre spark detonation (ping) ever again in any case in the car, it's too advanced. It could be incorrect timing in the cam position sensor or you could have a bad knock sensor. The engine will throw trouble signlals to tell you what is wrong, and it should go back into a "safe" mode if the ECU knows something is wrong, like a bad knock sensor.
Just read the thread in the FAQ on engine codes and how to read them. You don't need anything but a paper clip to bridge two terminals in the "Diagnosis" block inside the engine bay on the left inner fender and a pen and paper to write down how many times the check engine light flashes. There is a list of what each number of flashes signifies for the trouble code and your ECU will basically tell you exactly what's wrong with the car if you suspect anything or if you get a check engine light showing.
But anyway, you should be okay. Just don't mess with your ignition unless you have a timing light again