Skip to content

Commit 6f246a9

Browse files
authored
Update submodules to latest versions (#8)
* update submodules to latest * update action and update log * minor update * udpate espp
1 parent 3ef7e1d commit 6f246a9

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99

1010
steps:
1111
- name: Checkout repo
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v4
1313
with:
1414
submodules: 'recursive'
1515

16-
- name: Build Examples
16+
- name: Build Main
1717
uses: espressif/esp-idf-ci-action@v1
1818
with:
19-
esp_idf_version: release-v5.2
20-
target: esp32s3
19+
esp_idf_version: v5.2.2
20+
target: esp32
2121
path: '.'

components/esp-protocols

Submodule esp-protocols updated 261 files

components/espp

Submodule espp updated 768 files

main/main.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,15 +279,12 @@ extern "C" void app_main(void) {
279279
espp::Task::make_unique({.name = "Camera Task", .callback = camera_task_fn, .priority = 10});
280280
camera_task->start();
281281

282-
auto start = std::chrono::high_resolution_clock::now();
283282
while (true) {
284283
std::this_thread::sleep_for(1s);
285284
// print out some stats (battery, framerate)
286-
auto end = std::chrono::high_resolution_clock::now();
287-
float elapsed = std::chrono::duration<float>(end - start).count();
288285
fmt::print("\x1B[1A"); // go up a line
289286
fmt::print("\x1B[2K\r"); // erase the line
290-
logger.info("[{:.1f}] Minimum free memory: {}, Battery voltage: {:.2f}", elapsed,
287+
logger.info("Minimum free memory: {}, Battery voltage: {:.2f}",
291288
heap_caps_get_minimum_free_size(MALLOC_CAP_DEFAULT), battery.get_voltage());
292289
}
293290
}

0 commit comments

Comments
 (0)