Skip to content

Commit

Permalink
[py wrap] unmatched parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Apr 11, 2021
1 parent bba718c commit 93817ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyRF24/pyRF24.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ bp::enum_< bcm2835SPIChipSelect>("bcm2835SPIChipSelect")
#if defined (RF24_LINUX) && !defined (MRAA)
.def(bp::init< uint16_t, uint16_t, uint32_t >((bp::arg("_cepin"), bp::arg("_cspin"), bp::arg("spispeed"))))
.def(bp::init< uint32_t >((bp::arg("spispeed"))))
.def(bp::init< >()))
.def(bp::init< >())
#endif
.def("available", (bool (::RF24::*)())(&::RF24::available))
.def("available_pipe", &available_wrap) // needed to rename this method as python does not allow such overloading
Expand Down

0 comments on commit 93817ca

Please sign in to comment.