Skip to content

Commit 2578d92

Browse files
committed
Update to latest espp and fix affected code
1 parent a08bd49 commit 2578d92

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
77
# add the component directories that we want to use
88
set(EXTRA_COMPONENT_DIRS
99
"components/espp/components"
10-
"components/esp-protocols/components"
10+
"components/esp-protocols/components/mdns"
1111
)
1212

1313
add_compile_definitions(BOARD_HAS_PSRAM)

components/espp

Submodule espp updated 133 files

main/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ extern "C" void app_main(void) {
203203
return false;
204204
};
205205

206-
auto camera_task =
207-
espp::Task::make_unique({.name = "Camera Task", .callback = camera_task_fn, .priority = 10});
206+
auto camera_task = espp::Task::make_unique(
207+
{.callback = camera_task_fn, .task_config = {.name = "Camera Task", .priority = 10}});
208208
camera_task->start();
209209

210210
while (true) {

0 commit comments

Comments
 (0)