Skip to content

Commit

Permalink
Fix GCC_ARM linker error with some Thread builds (ARMmbed#1742)
Browse files Browse the repository at this point in the history
Add HAVE_WS in c-file to fix: "Error: L6218E: Undefined symbol
DEVICE_MIN_SENS (referred from ws_neighbor_class.o)"
  • Loading branch information
Arto Kinnunen authored Jul 9, 2018
1 parent 65574a4 commit 130fec4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/6LoWPAN/ws/ws_neighbor_class.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "6LoWPAN/ws/ws_config.h"
#include "6LoWPAN/ws/ws_neighbor_class.h"

#ifdef HAVE_WS

#define RSL_UNITITIALIZED 0x7fff
#define TRACE_GROUP "wsne"

Expand Down Expand Up @@ -143,3 +145,5 @@ void ws_neighbor_class_rsl_out_calculate(ws_neighbor_class_entry_t *ws_neighbor,
return;
}

#endif /* HAVE_WS */

0 comments on commit 130fec4

Please sign in to comment.