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 b77d1d3 commit 16ec68eCopy full SHA for 16ec68e
RadioLib/Makefile.app
@@ -2,4 +2,4 @@
2
override CPPFLAGS += -I$(TOCK_USERLAND_BASE_DIR)/RadioLib/RadioLib/src
3
4
# Include the Tock specific headers
5
-override CPPFLAGS += -I$(TOCK_USERLAND_BASE_DIR)/RadioLib/RadioLib/examples/NonArduino/Tock
+override CPPFLAGS += -I$(TOCK_USERLAND_BASE_DIR)/RadioLib/RadioLib/src/hal/Tock/
RadioLib/RadioLib
examples/lora/sensor-lorawan/main.cc
@@ -90,7 +90,7 @@ int main(void) {
90
91
state = node.sendReceive(Payload.getBuffer(), Payload.getSize());
92
93
- if (state == RADIOLIB_ERR_NONE) {
+ if (state > 0) {
94
// the packet was successfully transmitted
95
printf("success!\r\n");
96
} else {
0 commit comments