Refactoring a lot of the P5 stuff.
[goodfet] / firmware / apps / radios / nrf.c
index 0b1b6bd..e607bf6 100644 (file)
@@ -43,8 +43,8 @@ app_t const nrf_app = {
 //! Set up the pins for NRF mode.
 void nrfsetup(){
   SETSS;
-  P5DIR&=~MISO;
-  P5DIR|=MOSI+SCK;
+  SPIDIR&=~MISO;
+  SPIDIR|=MOSI+SCK;
   DIRSS;
   DIRCE;