latest test sketches and working request for id

This commit is contained in:
Henrik Ekblad
2014-05-19 20:08:12 +02:00
parent 9e043f3379
commit 67f4ca1fb4
9 changed files with 129 additions and 112 deletions
+2 -2
View File
@@ -680,10 +680,10 @@ void RF24::startWrite( const void* buf, uint8_t len, const bool multicast ){
// Send the payload
//write_payload( buf, len );
write_payload( buf, len,multicast? W_TX_PAYLOAD_NO_ACK : W_TX_PAYLOAD ) ;
write_payload( buf, len, multicast?static_cast<uint8_t>(W_TX_PAYLOAD_NO_ACK):static_cast<uint8_t>(W_TX_PAYLOAD)) ;
ce(HIGH);
ce(LOW);
ce(LOW);
}