changes to the GUI to allow for better loading and writing as well as tested our...
[goodfet] / firmware / lib / command.c
index 92c0b4c..6388c64 100644 (file)
@@ -66,7 +66,7 @@ void txhead(unsigned char app,
 void txdata(unsigned char app,
            unsigned char verb,
            unsigned long len){
 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);
   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
   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
 }
   #endif
 }
-
+#if (platform != tilaunchpad)
 //! Delay for specified number of milliseconds (given 16 MHz clock)
 void delay_ms( unsigned int ms )
 {
 //! 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
 }
   debugstr("delay_ticks unimplemented");
   #endif
 }
+#endif