Skip to content

Commit

Permalink
fixes copy-paste error
Browse files Browse the repository at this point in the history
  • Loading branch information
joernesdohr committed Nov 12, 2015
1 parent dd7808f commit ba96a30
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions RPi/pyRF24Network/pyRF24Network.python3.2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ bp::tuple read_wrap(RF24Network& ref, size_t maxlen)
RF24NetworkHeader header;

ref.read(header, buf, maxlen);

char *buf = new char[maxlen+1];
ref.read(buf, maxlen);
bp::object py_ba(bp::handle<>(PyByteArray_FromStringAndSize(buf, maxlen)));
delete[] buf;

Expand Down

0 comments on commit ba96a30

Please sign in to comment.