From d155a04fd50ec5303f2d980ca11c7de735e7eea7 Mon Sep 17 00:00:00 2001 From: Zim Kalinowski Date: Wed, 12 Jul 2023 10:09:41 +0800 Subject: [PATCH] fix(example): included esp_system.h in helloworld example in order to fix warning --- examples/get-started/hello_world/main/hello_world_main.c | 1 + tools/test_apps/system/gdb/main/hello_world_main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/get-started/hello_world/main/hello_world_main.c b/examples/get-started/hello_world/main/hello_world_main.c index e7b27a8dbf..7010f3ef61 100644 --- a/examples/get-started/hello_world/main/hello_world_main.c +++ b/examples/get-started/hello_world/main/hello_world_main.c @@ -11,6 +11,7 @@ #include "freertos/task.h" #include "esp_chip_info.h" #include "esp_flash.h" +#include "esp_system.h" void app_main(void) { diff --git a/tools/test_apps/system/gdb/main/hello_world_main.c b/tools/test_apps/system/gdb/main/hello_world_main.c index d924e14435..b4986f89c1 100644 --- a/tools/test_apps/system/gdb/main/hello_world_main.c +++ b/tools/test_apps/system/gdb/main/hello_world_main.c @@ -10,6 +10,7 @@ #include "freertos/task.h" #include "esp_chip_info.h" #include "esp_flash.h" +#include "esp_system.h" void app_main(void) {