Fixed P4REN error that broke MSP430F1612 support."
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 8 Jul 2010 19:19:43 +0000 (19:19 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Thu, 8 Jul 2010 19:19:43 +0000 (19:19 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@674 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/apps/spi/spi.c

index dc18aff..dc1c286 100644 (file)
@@ -243,7 +243,7 @@ void spi_rw_em260(u8 app, u8 verb, u32 len){
     
   P4DIR=0; //TODO ASAP remove P4 references.
   P4OUT=0xFF;
-  P4REN=0xFF;
+  //P4REN=0xFF;
     
   //See GoodFETEM260.py for details.
   //The EM260 requires that the host wait for the client.
@@ -255,7 +255,6 @@ void spi_rw_em260(u8 app, u8 verb, u32 len){
     
   em260_wake();
   
- em260woken:
     
   SETMOSI; //Autodetected SPI mode.
   CLRSS; //Drop !SS to begin transaction.