X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=firmware%2Flib%2Fcommand.c;h=7c57798f313d9ecaa22a8751e91907c4b2132c05;hb=69539bb167246135b1bde3c55dca7d19bc3c7aee;hp=ec74ebb0a069d5d29c5b95f0ae02273adac6944b;hpb=21ff17d2af1e50542d9343d7177269a8910ebbe3;p=goodfet diff --git a/firmware/lib/command.c b/firmware/lib/command.c index ec74ebb..7c57798 100644 --- a/firmware/lib/command.c +++ b/firmware/lib/command.c @@ -151,7 +151,7 @@ void prep_timer() #warning "Function unimplemented for this platform." #endif } - +#if (platform != tilaunchpad) //! Delay for specified number of milliseconds (given 16 MHz clock) void delay_ms( unsigned int ms ) { @@ -165,7 +165,7 @@ void delay_ms( unsigned int ms ) } TBCTL = 0x0204; // Reset Timer B, till next time #else - #warning "Function unimplemented for this platform." + debugstr("delay_ms unimplemented"); #endif } @@ -182,7 +182,7 @@ void delay_us( unsigned int us ) } TBCTL = 0x0204; // Reset Timer B, till next time #else - #warning "Function unimplemented for this platform." + debugstr("delay_us unimplemented"); #endif } @@ -195,6 +195,7 @@ void delay_ticks( unsigned int num_ticks ) asm( "nop" ); TBCTL = 0x0204; // Reset Timer B, till next time #else - #warning "Function unimplemented for this platform." + debugstr("delay_ticks unimplemented"); #endif } +#endif