X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Flib%2Fcommand.c;h=6388c643b366a82b2f1384c2b0e6b1960098d944;hp=92c0b4cff606cf12d58da531eca0bac43c82994d;hb=f244df1b2d3010548ed2cceabdde44f36089a29a;hpb=5b89da5a9d7864784dbe4942d856f751c3758c1c;ds=sidebyside diff --git a/firmware/lib/command.c b/firmware/lib/command.c index 92c0b4c..6388c64 100644 --- a/firmware/lib/command.c +++ b/firmware/lib/command.c @@ -66,7 +66,7 @@ void txhead(unsigned char app, void txdata(unsigned char app, unsigned char verb, unsigned long len){ - unsigned int i=0; + unsigned long i=0; if(silent) return; txhead(app,verb,len); @@ -148,10 +148,10 @@ void prep_timer() TBCTL = 0x0204; /* Driven by SMCLK; disable Timer B interrupts; reset timer in case it was previously in use */ #else - #warning "Function unimplemented for this platform." + #warning "prep_timer() unimplemented for this platform." #endif } - +#if (platform != tilaunchpad) //! Delay for specified number of milliseconds (given 16 MHz clock) void delay_ms( unsigned int ms ) { @@ -198,3 +198,4 @@ void delay_ticks( unsigned int num_ticks ) debugstr("delay_ticks unimplemented"); #endif } +#endif