still working
[goodfet] / firmware / goodfet.c
index 11afcdd..4d791f8 100644 (file)
@@ -93,6 +93,9 @@ void handle(unsigned char app,
   case SMARTCARD:
     smartcardhandle(app,verb,len);
     break;
+  case JTAGARM7TDMI:
+    jtagarm7tdmihandle(app,verb,len);
+    break;
   default:
     if(pluginhandle){
       pluginhandle(app,verb,len);
@@ -155,7 +158,7 @@ int main(void)
       handle(app,verb,len);
     }else{
       //Listen to the blaberring.
-      for(i-0;i<len;i++)
+      for(i=0;i<len;i++)
        serial_rx();
       //Reply with an error.
       debugstr("Buffer length exceeded.");