samples: bluetooth: mesh: Fix usage of board name checking
Fixes using outdated hwmv1 board name checking with proper board defines Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
3684b37524
commit
e6a873a971
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ project(mesh)
|
|||
|
||||
target_sources(app PRIVATE src/main.c)
|
||||
|
||||
if (BOARD STREQUAL bbc_microbit)
|
||||
if(CONFIG_BOARD_BBC_MICROBIT)
|
||||
target_sources(app PRIVATE src/microbit.c)
|
||||
else()
|
||||
target_sources(app PRIVATE src/board.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue