We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 69c883e + 3979243 commit 397ea51Copy full SHA for 397ea51
circuitpython_nrf24l01/rf24.py
@@ -690,7 +690,7 @@ def data_rate(self):
690
def data_rate(self, speed):
691
if not speed in (1, 2, 250):
692
raise ValueError("data_rate must be 1 (Mbps), 2 (Mbps), or 250 (kbps)")
693
- if self.is_plus_variant and speed == 250:
+ if not self.is_plus_variant and speed == 250:
694
raise NotImplementedError(
695
"250 kbps data rate is not available for the non-plus "
696
"variants of the nRF24L01 transceivers."
0 commit comments