projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Timing functions delay_ms, delay_us and delay_ticks now use Timer B.
[goodfet]
/
firmware
/
include
/
spi.h
diff --git
a/firmware/include/spi.h
b/firmware/include/spi.h
index
e96bef3
..
02e548a
100644
(file)
--- a/
firmware/include/spi.h
+++ b/
firmware/include/spi.h
@@
-5,14
+5,11
@@
//Pins and I/O
-
#define SS
BIT0
+
//#define SS
BIT0
#define MOSI BIT1
#define MISO BIT2
#define SCK BIT3
-#define SETSS P5OUT|=SS
-#define CLRSS P5OUT&=~SS
-
#define SETMOSI P5OUT|=MOSI
#define CLRMOSI P5OUT&=~MOSI
#define SETCLK P5OUT|=SCK