Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RF24
Submodule RF24 updated 41 files
+19 −0 .gitattributes
+7 −1 .github/dependabot.yml
+5 −1 .github/doxygen.py
+172 −163 .github/workflows/build_arduino.yml
+37 −18 .github/workflows/build_linux.yml
+20 −6 .github/workflows/build_platformIO.yml
+7 −1 .github/workflows/build_rp2xxx.yml
+21 −10 .github/workflows/clang_format.yml
+71 −54 .github/workflows/doxygen.yml
+7 −8 .readthedocs.yaml
+161 −79 CHANGELOG.md
+28 −28 COMMON_ISSUES.md
+2 −2 README.md
+311 −227 RF24.cpp
+13 −8 RF24.h
+4 −0 RF24_config.h
+1 −1 docs/main_page.md
+154 −154 examples/GettingStarted/GettingStarted.ino
+353 −353 examples/InterruptConfigure/InterruptConfigure.ino
+222 −222 examples/ManualAcknowledgements/ManualAcknowledgements.ino
+194 −194 examples/MulticeiverDemo/MulticeiverDemo.ino
+192 −192 examples/StreamingData/StreamingData.ino
+217 −217 examples/old_backups/GettingStarted_HandlingFailures/GettingStarted_HandlingFailures.ino
+185 −185 examples/old_backups/TransferTimeouts/TransferTimeouts.ino
+173 −173 examples/old_backups/pingpair_irq/pingpair_irq.ino
+252 −252 examples/old_backups/pingpair_multi_dyn/pingpair_multi_dyn.ino
+231 −231 examples/old_backups/pingpair_sleepy/pingpair_sleepy.ino
+236 −236 examples/old_backups/recipes/led_remote/led_remote.ino
+135 −135 examples/old_backups/recipes/nordic_fob/nordic_fob.ino
+231 −231 examples/old_backups/recipes/pingpair_maple/pingpair_maple.ino
+7 −7 examples/old_backups/recipes/readme.md
+204 −204 examples/rf24_ATTiny/rf24ping85/rf24ping85.ino
+207 −207 examples/rf24_ATTiny/timingSearch3pin/timingSearch3pin.ino
+10 −0 examples_uno_q/rf24_encoderadiodetails/README.md
+18 −0 examples_uno_q/rf24_encoderadiodetails/app.yaml
+200 −0 examples_uno_q/rf24_encoderadiodetails/python/main.py
+126 −0 examples_uno_q/rf24_encoderadiodetails/sketch/sketch.ino
+13 −0 examples_uno_q/rf24_encoderadiodetails/sketch/sketch.yaml
+1 −1 library.json
+1 −1 library.properties
+103 −92 nRF24L01.h
5 changes: 3 additions & 2 deletions src/pyRF24.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <pybind11/pybind11.h>
#include <RF24.h>
#include <nRF24L01.h>
using namespace nRF24L01;

namespace py = pybind11;

Expand Down Expand Up @@ -175,7 +176,7 @@ class RF24Wrapper : public RF24

bool isPowerUp()
{
return read_register(NRF_CONFIG) & _BV(PWR_UP);
return read_register(CONFIG) & _BV(PWR_UP);
}

void set_pa_level(rf24_pa_dbm_e level)
Expand Down Expand Up @@ -217,7 +218,7 @@ class RF24Wrapper : public RF24

bool isListening()
{
return read_register(NRF_CONFIG) & _BV(PRIM_RX);
return read_register(CONFIG) & _BV(PRIM_RX);
}

void listen(const bool enable)
Expand Down