Skip to content
Snippets Groups Projects
Commit 23df73ee authored by Daniel Friesel's avatar Daniel Friesel
Browse files

nrf24l01 driver: Explicitly enable AutoAck on setup()

parent 9ccab801
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,9 @@ void Nrf24l01::setup()
setDataRate(RF24_1MBPS);
// Reset value is "enabled on all pipes"
setAutoAck(1);
toggleFeatures();
writeRegister(FEATURE, 0);
writeRegister(DYNPD, 0);
......@@ -589,4 +592,4 @@ uint8_t Nrf24l01::flushTx(void)
return rxbuf[0];
}
Nrf24l01 nrf24l01;
\ No newline at end of file
Nrf24l01 nrf24l01;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment