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