X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Fapps%2Fradios%2Fnrf.c;h=76c396c6c5a0cafe61b79d30daae3623b686fee2;hb=5a403079bcbe888638417dbe7aa77723b265f94e;hp=0b1b6bd3f0d379a1ac7dcebc10557304a745cff6;hpb=5fb0341d348e101b30794945a6c91546e25e8e7b;p=goodfet diff --git a/firmware/apps/radios/nrf.c b/firmware/apps/radios/nrf.c index 0b1b6bd..76c396c 100644 --- a/firmware/apps/radios/nrf.c +++ b/firmware/apps/radios/nrf.c @@ -9,7 +9,7 @@ #include "command.h" #include -#include +#include #include #include "nrf.h" @@ -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;