Commit 6e6264be authored by maniacbug's avatar maniacbug

Fix bug in openReadingPipe which disallowed pipe 5

parent 748fde23
......@@ -517,7 +517,7 @@ void RF24::openReadingPipe(uint8_t child, uint64_t value)
if (child == 0)
pipe0_reading_address = value;
if (child < 5)
if (child <= 5)
{
// For pipes 2-5, only write the LSB
if ( child < 2 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment