Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RF24
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
RF24
Commits
80e942ce
Commit
80e942ce
authored
Oct 04, 2014
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#24 lol Fix: Spelling and ; on std spi define
parent
2d79e75e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
RF24.h
RF24.h
+2
-2
RF24_config.h
RF24_config.h
+2
-2
No files found.
RF24.h
View file @
80e942ce
...
...
@@ -49,10 +49,10 @@ class RF24
private:
#ifdef SOFTSPI
SoftSPI
<
SOFT_SPI_MISO_PIN
,
SOFT_SPI_MOSI_PIN
,
SOFT_SPI_SCK_PIN
,
SPI_MODE
>
spi
;
#endif
#ifdef SPI_UART
#elif defined (SPI_UART)
SPIUARTClass
uspi
;
#endif
uint8_t
ce_pin
;
/**< "Chip Enable" pin, activates the RX or TX role */
uint8_t
csn_pin
;
/**< SPI Chip select */
bool
p_variant
;
/* False for RF24L01 and true for RF24L01P */
...
...
RF24_config.h
View file @
80e942ce
...
...
@@ -45,9 +45,9 @@
const
uint8_t
SPI_MODE
=
0
;
#define _SPI spi
#else
#defome _SPI SPI;
#else
#include <SPI.h>
#define _SPI SPI
#endif
#endif
#else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment