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
9708f720
Commit
9708f720
authored
Mar 23, 2016
by
TMRh20
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duplicate read NRF_CONFIG per #203 in powerUp()
parent
b2500826
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
RF24.cpp
RF24.cpp
+1
-1
No files found.
RF24.cpp
View file @
9708f720
...
...
@@ -760,7 +760,7 @@ void RF24::powerUp(void)
// if not powered up then power up and wait for the radio to initialize
if
(
!
(
cfg
&
_BV
(
PWR_UP
))){
write_register
(
NRF_CONFIG
,
read_register
(
NRF_CONFIG
)
|
_BV
(
PWR_UP
));
write_register
(
NRF_CONFIG
,
cfg
|
_BV
(
PWR_UP
));
// For nRF24L01+ to go from power down mode to TX or RX mode it must first pass through stand-by mode.
// There must be a delay of Tpd2stby (see Table 16.) after the nRF24L01+ leaves power down mode before
...
...
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