projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Closer to harmonizing different platforms.
[goodfet]
/
firmware
/
platforms
/
telosb.h
diff --git
a/firmware/platforms/telosb.h
b/firmware/platforms/telosb.h
index
a482125
..
c536b1c
100644
(file)
--- a/
firmware/platforms/telosb.h
+++ b/
firmware/platforms/telosb.h
@@
-18,4
+18,10
@@
//Radio CS is P4.2
#define SETSS P4OUT|=BIT2
#define CLRSS P4OUT&=~BIT2
+#define DIRSS P4DIR|=BIT2;
+
+//CC2420 Chip Reset. Need to document this.
+#define SETCE P4OUT|=BIT6
+#define CLRCE P4OUT&=~BIT6
+#define DIRCE P4DIR|=BIT6