goodfet needs SS not CS for nrf application Arduino_Uno
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 13 Aug 2013 14:14:42 +0000 (16:14 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 13 Aug 2013 14:14:42 +0000 (16:14 +0200)
firmware/include/spi.h

index d9edfb3..097510e 100644 (file)
@@ -23,7 +23,7 @@
 //                                      - nrf 1 GND
 //                                      - nrf 2 +3.3V
 # define CE   (1 << PB1) // pin 9       - nrf 3 CE
-# define CS   (1 << PB2) // pin 10 CS   - nrf 4 CSN
+# define SS   (1 << PB2) // pin 10 CS   - nrf 4 CSN
 # define MOSI (1 << PB3) // pin 11 MOSI - nrf 6 MOSI
 # define MISO (1 << PB4) // pin 12 MISO - nrf 7 MISO
 # define SCK  (1 << PB5) // pin 13 SCL  - nrf 5 CLK