Skip to content

Commit b27735a

Browse files
committed
Forgot to take ce(LOW).
1 parent 5f22ea3 commit b27735a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/RF24/RF24.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ uint8_t RF24::read_payload(void* buf, uint8_t len)
128128
uint8_t blank_len = dynamic_payloads_enabled ? 0 : payload_size - data_len;
129129

130130
//printf("[Reading %u bytes %u blanks]",data_len,blank_len);
131-
131+
ce(LOW); // <----- NEED THIS ALSO
132+
132133
csn(LOW);
133134
status = SPI.transfer( R_RX_PAYLOAD );
134135
while ( data_len-- )

0 commit comments

Comments
 (0)