We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 207aba9 commit b8ab66dCopy full SHA for b8ab66d
examples/lora/sensor-receive/main.cc
@@ -50,7 +50,7 @@ int main(void) {
50
// Ensure there are no pending callbacks
51
yield_no_wait();
52
53
- state = radio->receive((uint8_t*)buffer, BUFFER_LEN);
+ state = radio->receive(reinterpret_cast<uint8_t*> (buffer), BUFFER_LEN);
54
55
if (state == RADIOLIB_ERR_NONE) {
56
// the packet was successfully transmitted
0 commit comments