Commit 5fabf260 authored by TMRh20's avatar TMRh20

Fix: Return value of write, writefast

parent 18583123
...@@ -607,7 +607,7 @@ bool RF24::write( const void* buf, uint8_t len, const bool multicast ) ...@@ -607,7 +607,7 @@ bool RF24::write( const void* buf, uint8_t len, const bool multicast )
} }
bool RF24::write( const void* buf, uint8_t len ){ bool RF24::write( const void* buf, uint8_t len ){
write(buf,len,0); return write(buf,len,0);
} }
/****************************************************************************/ /****************************************************************************/
...@@ -676,7 +676,7 @@ bool RF24::writeFast( const void* buf, uint8_t len, const bool multicast ) ...@@ -676,7 +676,7 @@ bool RF24::writeFast( const void* buf, uint8_t len, const bool multicast )
} }
bool RF24::writeFast( const void* buf, uint8_t len ){ bool RF24::writeFast( const void* buf, uint8_t len ){
writeFast(buf,len,0); return writeFast(buf,len,0);
} }
/****************************************************************************/ /****************************************************************************/
......
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