X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Flib%2Fcommand.c;h=8f9501a61841cf2ea0a4c0110f9b92eeb256fd53;hb=5c029aa0c4f7573d9fa49beefe6e887dee2b25f9;hp=5e4287fb1f3f40bf83107fc4c189e9e56f57870c;hpb=950a6f9bb0c1a9778f4a8de71557a23e8ac7e9ef;p=goodfet diff --git a/firmware/lib/command.c b/firmware/lib/command.c index 5e4287f..8f9501a 100644 --- a/firmware/lib/command.c +++ b/firmware/lib/command.c @@ -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