Line Follower: can my code be optimized?

I took an identical Arduino Nano V3 and wrote the same code to it, with this in my void loop():

Motor(-120,120);
delay(1000);
Motor(0,0);
delay(1000);

And the wheels rotate like they should, if I do the same with the other board it starts acting weird again. (looping the setup)
Does this mean I've fried my first Arduino board? Crap :astonished: