Skip to content

Commit

Permalink
fix spelling of MESH_NOMASTER in py wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 20, 2024
1 parent dc29068 commit 2fb4d25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyRF24Mesh/pyRF24Mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ BOOST_PYTHON_MODULE(RF24Mesh)
.def("renewAddress", &RF24Mesh::renewAddress, renewAddress_overload())
//bool releaseAddress();
.def("releaseAddress", (bool(RF24Mesh::*)()) & RF24Mesh::releaseAddress)
#ifndef MESH_NO_MASTER
#ifndef MESH_NOMASTER
//bool releaseAddress(uint16_t address);
.def("releaseAddress", (bool(RF24Mesh::*)(uint16_t)) & RF24Mesh::releaseAddress, (bp::args("address")))
#endif
Expand Down

1 comment on commit 2fb4d25

@2bndy5
Copy link
Member Author

@2bndy5 2bndy5 commented on 2fb4d25 Jun 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ref #244

Please sign in to comment.