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
1289f85c
Commit
1289f85c
authored
May 06, 2014
by
a-lurker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore closeReadingPipe
Restore closeReadingPipe to be compatible with mysensors
parent
6530f954
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
RF24.cpp
RF24.cpp
+7
-0
RF24.h
RF24.h
+7
-0
No files found.
RF24.cpp
View file @
1289f85c
...
@@ -862,6 +862,13 @@ void RF24::openReadingPipe(uint8_t child, uint64_t address)
...
@@ -862,6 +862,13 @@ void RF24::openReadingPipe(uint8_t child, uint64_t address)
/****************************************************************************/
/****************************************************************************/
void
RF24
::
closeReadingPipe
(
uint8_t
pipe
)
{
write_register
(
EN_RXADDR
,
read_register
(
EN_RXADDR
)
&
~
_BV
(
pgm_read_byte
(
&
child_pipe_enable
[
pipe
])));
}
/****************************************************************************/
void
RF24
::
toggle_features
(
void
)
void
RF24
::
toggle_features
(
void
)
{
{
...
...
RF24.h
View file @
1289f85c
...
@@ -208,6 +208,13 @@ public:
...
@@ -208,6 +208,13 @@ public:
*/
*/
void
openReadingPipe
(
uint8_t
number
,
uint64_t
address
);
void
openReadingPipe
(
uint8_t
number
,
uint64_t
address
);
/**
* Close a pipe after it has been previously opened.
* Can be safely called without having previously opened a pipe.
* @param pipe Which pipe # to close, 0-5.
*/
void
closeReadingPipe
(
uint8_t
pipe
)
;
/**@}*/
/**@}*/
/**
/**
* @name Advanced Operation
* @name Advanced Operation
...
...
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