Fix: Return value of write, writefast

This commit is contained in:
TMRh20
2014-04-11 02:17:42 -06:00
parent 1858312338
commit 5fabf2608a
+2 -2
View File
@@ -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);
}
/****************************************************************************/