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:
Jamie McCrae 2024-03-20 08:51:41 +00:00 committed by Carles Cufí
commit e6a873a971

View file

@ -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)