Fixed 2274 support.
[goodfet] / firmware / goodfet.c
index 0d78ea3..d79fdac 100644 (file)
@@ -83,7 +83,7 @@ void handle(unsigned char app,
            unsigned char verb,
            unsigned long len){
   //debugstr("GoodFET");
-  P1OUT&=~1;
+  PLEDOUT&=~PLEDPIN;
   switch(app){
   case GLITCH:
     glitchhandle(app,verb,len);
@@ -97,6 +97,9 @@ void handle(unsigned char app,
   case NRF:
     nrfhandle(app,verb,len);
     break;
+  case CCSPI:
+    ccspihandle(app,verb,len);
+    break;
   case AVR:
     avrhandle(app,verb,len);
     break;