projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed P4REN error that broke MSP430F1612 support."
[goodfet]
/
firmware
/
apps
/
spi
/
spi.c
diff --git
a/firmware/apps/spi/spi.c
b/firmware/apps/spi/spi.c
index
dc18aff
..
dc1c286
100644
(file)
--- a/
firmware/apps/spi/spi.c
+++ b/
firmware/apps/spi/spi.c
@@
-243,7
+243,7
@@
void spi_rw_em260(u8 app, u8 verb, u32 len){
P4DIR=0; //TODO ASAP remove P4 references.
P4OUT=0xFF;
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.
//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();
em260_wake();
- em260woken:
SETMOSI; //Autodetected SPI mode.
CLRSS; //Drop !SS to begin transaction.
SETMOSI; //Autodetected SPI mode.
CLRSS; //Drop !SS to begin transaction.