Minor NRF cleanup.
authortravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 18 May 2010 19:33:24 +0000 (19:33 +0000)
committertravisutk <travisutk@12e2690d-a6be-4b82-a7b7-67c4a43b65c8>
Tue, 18 May 2010 19:33:24 +0000 (19:33 +0000)
git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@523 12e2690d-a6be-4b82-a7b7-67c4a43b65c8

firmware/apps/radios/nrf.c

index 6b2ad59..90fc1a9 100644 (file)
 
 //! Set up the pins for NRF mode.
 void nrfsetup(){
 
 //! Set up the pins for NRF mode.
 void nrfsetup(){
-  P5OUT=SS;
+  P5OUT|=SS;
   P5DIR&=~MISO;
   P5DIR|=MOSI+SCK+SS;
   
   
   P5DIR&=~MISO;
   P5DIR|=MOSI+SCK+SS;
   
   
+  /*
   //Begin a new transaction.
   P5OUT&=~SS; 
   P5OUT|=SS;
   //Begin a new transaction.
   P5OUT&=~SS; 
   P5OUT|=SS;
+  */
 }
 
 
 }