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
5a0ec585
Commit
5a0ec585
authored
Feb 14, 2016
by
Witold Markowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for #213.
parent
47435fdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
RF24.cpp
RF24.cpp
+2
-3
No files found.
RF24.cpp
View file @
5a0ec585
...
...
@@ -643,8 +643,8 @@ bool RF24::begin(void)
{
p_variant
=
true
;
}
/*
setup = read_register(RF_SETUP);
if( setup == 0b00001110 ) // register default for nRF24L01P
setup
=
read_register
(
RF_SETUP
);
/*
if( setup == 0b00001110 ) // register default for nRF24L01P
{
p_variant = true ;
}*/
...
...
@@ -1393,7 +1393,6 @@ bool RF24::setDataRate(rf24_datarate_e speed)
{
bool
result
=
false
;
uint8_t
setup
=
read_register
(
RF_SETUP
)
;
// HIGH and LOW '00' is 1Mbs - our default
setup
&=
~
(
_BV
(
RF_DR_LOW
)
|
_BV
(
RF_DR_HIGH
))
;
...
...
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