From c59e00857cea5dba2c38dcb5070594a237c297a6 Mon Sep 17 00:00:00 2001 From: travisutk Date: Tue, 18 May 2010 19:33:24 +0000 Subject: [PATCH] Minor NRF cleanup. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@523 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/apps/radios/nrf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/apps/radios/nrf.c b/firmware/apps/radios/nrf.c index 6b2ad59..90fc1a9 100644 --- a/firmware/apps/radios/nrf.c +++ b/firmware/apps/radios/nrf.c @@ -29,14 +29,16 @@ //! Set up the pins for NRF mode. void nrfsetup(){ - P5OUT=SS; + P5OUT|=SS; P5DIR&=~MISO; P5DIR|=MOSI+SCK+SS; + /* //Begin a new transaction. P5OUT&=~SS; P5OUT|=SS; + */ } -- 2.20.1