diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ #include "hardware.h" +#include "avr.h" #include "Motor.h" #include "Navigation.h" @@ -11,7 +12,8 @@ Navigation *navigation = new Navigation(motorLeft, 60.0, motorBack, 180.0, motor static void delay() { - for(unsigned long i = 0; i < 25000; i++); + for(unsigned long i = 0; i < 25000; i++) + asm("nop"); } |