Skip to content

Commit

Permalink
[examples] nucleo_f401re DW3110 Update to fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Javask committed Aug 22, 2024
1 parent 3a5aa0b commit 123c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/nucleo_f401re/dw3110-communication/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class TXThread : public modm::pt::Protothread
txdata[txdata.size() - 1]++;
timeout.restart(Button::read() ? 500ms : 10ms);
PT_WAIT_UNTIL(timeout.execute());
if (PT_CALL(radio.transmit(txdata, true)))
if (PT_CALL(radio.transmit(txdata, true)) == modm::Dw3110::Error::None)
{
sentCount++;
} else
Expand Down

0 comments on commit 123c0d4

Please sign in to comment.