The GoodFET can program an MSP430's flash memory!
[goodfet] / firmware / lib / command.c
index 44a853d..cc6e687 100644 (file)
@@ -15,9 +15,8 @@ void txdata(unsigned char app,
   }
 }
 
-
 //! Delay for a count.
 void delay(unsigned int count){
   volatile unsigned int i=count;
-  while(i--);
+  while(i--) asm("nop");
 }