Skip to content

Commit 5599f99

Browse files
sylvioalveskartben
authored andcommitted
tests: console: use printf instead
This change aligns the test case with the hello_world sample. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
1 parent abcc7c3 commit 5599f99

File tree

1 file changed

+2
-3
lines changed
  • tests/drivers/console/hello_world/src

1 file changed

+2
-3
lines changed

tests/drivers/console/hello_world/src/main.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#include <zephyr/kernel.h>
8-
#include <zephyr/sys/printk.h>
7+
#include <stdio.h>
98

109
int main(void)
1110
{
12-
printk("Hello World from Console\n");
11+
printf("Hello World from Console\n");
1312
return 0;
1413
}

0 commit comments

Comments
 (0)