ArmDeveloperEcosystem/lorawan-library-for-pico

undefined reference to "make_timeout_time_ms"

lingmaple opened this issue · 3 comments

185b6e2835888609428d613f5499d2a
please

Is your copy of the library up to date? This was fixed by PR #33

This can be fixed by adding including "pico/time.h" in src/lorawan.c

diff --git a/src/lorawan.c b/src/lorawan.c
index 9e4cec3..dc24e60 100644
--- a/src/lorawan.c
+++ b/src/lorawan.c
@@ -28,6 +28,7 @@
 #include <string.h>
 
 #include "pico/lorawan.h"
+#include "pico/time.h"
 
 #include "board.h"
 #include "rtc-board.h"

@lingmaple did you get a changes to try @jerryneedell's suggestion above (#34 (comment)) ?

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.