Skip to content

Commit 6fc11ca

Browse files
pkoscikkartben
authored andcommitted
samples: hello_world_user: unify board identifier output
This patch unifies the board target identifier output to match that in the `hello_world/src/main.c` file. Signed-off-by: Patryk Koscik <[email protected]>
1 parent a1a8d28 commit 6fc11ca

File tree

1 file changed

+1
-1
lines changed
  • samples/userspace/hello_world_user/src

1 file changed

+1
-1
lines changed

samples/userspace/hello_world_user/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ static void user_function(void *p1, void *p2, void *p3)
1919
{
2020
printf("Hello World from %s (%s)\n",
2121
k_is_user_context() ? "UserSpace!" : "privileged mode.",
22-
CONFIG_BOARD);
22+
CONFIG_BOARD_TARGET);
2323
__ASSERT(k_is_user_context(), "User mode execution was expected");
2424
}
2525

0 commit comments

Comments
 (0)