projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reverted some CCSPI performance patches. This might slow down the Z1.
[goodfet]
/
firmware
/
apps
/
radios
/
nrf.c
diff --git
a/firmware/apps/radios/nrf.c
b/firmware/apps/radios/nrf.c
index
0b1b6bd
..
76c396c
100644
(file)
--- a/
firmware/apps/radios/nrf.c
+++ b/
firmware/apps/radios/nrf.c
@@
-9,7
+9,7
@@
#include "command.h"
#include <signal.h>
#include "command.h"
#include <signal.h>
-#include <
io
.h>
+#include <
msp430
.h>
#include <iomacros.h>
#include "nrf.h"
#include <iomacros.h>
#include "nrf.h"
@@
-43,8
+43,8
@@
app_t const nrf_app = {
//! Set up the pins for NRF mode.
void nrfsetup(){
SETSS;
//! Set up the pins for NRF mode.
void nrfsetup(){
SETSS;
-
P5
DIR&=~MISO;
-
P5
DIR|=MOSI+SCK;
+
SPI
DIR&=~MISO;
+
SPI
DIR|=MOSI+SCK;
DIRSS;
DIRCE;
DIRSS;
DIRCE;