Commit 95174ce
committed
build: unused global variables in header file causing BLE build failure
factory_data.h defines 2 global variables which aren't actually used anywhere.
However, they become global symbols in any C files that include this header
file. For most builds, this header file is included only once but, for CurieBle
library builds, it is included by another C file as well. This causes a linker
error due to duplicate symbols in the final image.
The simple solution is to just remove these variables, because they aren't used.
Signed-off-by: Dan O'Donovan <dan@emutex.com>1 parent 7052d8f commit 95174ce
File tree
1 file changed
+0
-2
lines changed- system/libarc32_arduino101/framework/include/infra
1 file changed
+0
-2
lines changedLines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
0 commit comments