Removed many references to P1OUT.
[goodfet] / firmware / apps / spi / spi.c
index 6e008a1..fc31038 100644 (file)
@@ -274,8 +274,8 @@ void spihandle(unsigned char app,
     
     
     while(spiflash_status()&0x01)//while busy
-      P1OUT^=1;
-    P1OUT&=~1;
+      PLEDOUT^=PLEDPIN;
+    PLEDOUT&=~PLEDPIN;
     
     txdata(app,verb,0);
     break;