Clear P2SEL to disable XIN on MSP430F2274.
[goodfet] / firmware / lib / command.c
index 5e4287f..8f9501a 100644 (file)
@@ -115,7 +115,7 @@ void txword(unsigned int l){
 
 //! Delay for a count.
 void delay(unsigned int count){
-  volatile unsigned int i=count*2;
+  volatile unsigned int i=count;
   while(i--) asm("nop");
 }
 //! MSDelay