From 5fabf2608a64572876e5b7b94a0e7e66b392cd8c Mon Sep 17 00:00:00 2001 From: TMRh20 Date: Fri, 11 Apr 2014 02:17:42 -0600 Subject: [PATCH] Fix: Return value of write, writefast --- RF24.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RF24.cpp b/RF24.cpp index 92659d8..6b14a16 100644 --- a/RF24.cpp +++ b/RF24.cpp @@ -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 ){ - 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 ) } bool RF24::writeFast( const void* buf, uint8_t len ){ - writeFast(buf,len,0); + return writeFast(buf,len,0); } /****************************************************************************/