Skip to content

Commit 33328e8

Browse files
committed
Release version
1 parent 4334c80 commit 33328e8

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ESP32.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
if: steps.cache_esp_idf.outputs.cache-hit != 'true'
7777
run: |
7878
cd ~
79-
# git clone --depth 1 --branch release/v5.3 https://github.com/espressif/esp-idf.git
80-
git clone --depth 1 --branch ${{ env.IDF_VER }} https://github.com/espressif/esp-idf.git
79+
git clone --depth 1 --branch v5.4 https://github.com/espressif/esp-idf.git
80+
# git clone --depth 1 --branch ${{ env.IDF_VER }} https://github.com/espressif/esp-idf.git
8181
git -C esp-idf submodule update --init --recursive --filter=tree:0
8282
cd esp-idf
8383
./install.sh all

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ The API is stable, but it might change. Please look into the release section for
99
I tied to make things as easy as possible. If you find this project useful, please consider donating to support my work. Thanks!
1010
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/cnadler)
1111

12+
If you want to play arround with AI, take a look at the [micropython binding for esp-dl](https://github.com/cnadler86/mp_esp_dl_models).
13+
1214
## Content
1315

1416
- [Precompiled firmware (the easy way)](#Precompiled-firmware-the-easy-way)

src/modcamera.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static bool init_camera(mp_camera_obj_t *self) {
9797
self->camera_config.jpeg_quality = get_mapped_jpeg_quality(api_jpeg_quality);
9898
esp_err_t err = esp_camera_init(&self->camera_config);
9999
self->camera_config.jpeg_quality = api_jpeg_quality;
100-
check_esp_err_(err);
100+
check_esp_err(err);
101101
return true;
102102
}
103103

@@ -175,7 +175,7 @@ void mp_camera_hal_deinit(mp_camera_obj_t *self) {
175175
self->captured_buffer = NULL;
176176
}
177177
esp_err_t err = esp_camera_deinit();
178-
check_esp_err_(err);
178+
check_esp_err(err);
179179
self->initialized = false;
180180
ESP_LOGI(TAG, "Camera deinitialized");
181181
}
@@ -198,7 +198,7 @@ void mp_camera_hal_reconfigure(mp_camera_obj_t *self, mp_camera_framesize_t fram
198198
set_check_grab_mode(self, grab_mode);
199199
set_check_fb_count(self, fb_count);
200200

201-
check_esp_err_(esp_camera_deinit());
201+
check_esp_err(esp_camera_deinit());
202202
self->initialized = false;
203203
self->initialized = init_camera(self);
204204
ESP_LOGI(TAG, "Camera reconfigured successfully");

0 commit comments

Comments
 (0)