From f162427c731de9e087828d0b656de623482ec41d Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Tue, 18 Jun 2024 03:16:08 -0700 Subject: [PATCH] run clang-format --- pyRF24Mesh/pyRF24Mesh.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyRF24Mesh/pyRF24Mesh.cpp b/pyRF24Mesh/pyRF24Mesh.cpp index 417763e..05c9578 100644 --- a/pyRF24Mesh/pyRF24Mesh.cpp +++ b/pyRF24Mesh/pyRF24Mesh.cpp @@ -87,10 +87,10 @@ BOOST_PYTHON_MODULE(RF24Mesh) //uint16_t renewAddress(uint32_t timeout=MESH_RENEWAL_TIMEOUT); .def("renewAddress", &RF24Mesh::renewAddress, getNodeID_overload(bp::args("timeout"))) //bool releaseAddress(); - .def("releaseAddress", (bool (RF24Mesh::*)())&RF24Mesh::releaseAddress) + .def("releaseAddress", (bool(RF24Mesh::*)()) & RF24Mesh::releaseAddress) #ifndef MESH_NO_MASTER //bool releaseAddress(uint16_t address); - .def("releaseAddress", (bool (RF24Mesh::*)(uint16_t))&RF24Mesh::releaseAddress, (bp::args("address"))) + .def("releaseAddress", (bool(RF24Mesh::*)(uint16_t)) & RF24Mesh::releaseAddress, (bp::args("address"))) #endif //int16_t getAddress(uint8_t nodeID); .def("getAddress", &RF24Mesh::getAddress, (bp::arg("nodeID")))