Skip to content

Commit 9194be8

Browse files
Update ESP32.yml
1 parent b9f2b00 commit 9194be8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ESP32.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,11 @@ jobs:
119119
cd ${{ github.workspace }} && cd ..
120120
git clone https://github.com/Vincent1-python/micropython-camera-API.git
121121
git clone https://github.com/cnadler86/mp_jpeg.git
122-
122+
cd ${{ github.workspace }}/esp-dl
123+
sed -i '364s/switch (dst_img.pix_type) {/switch (dst_img.pix_type) {\
124+
case DL_IMAGE_PIX_TYPE_UNDEFINED: break;/' vision/image/dl_image_process.cpp
125+
sed -i '686s/switch (dst_img.pix_type) {/switch (dst_img.pix_type) {\
126+
case DL_IMAGE_PIX_TYPE_UNDEFINED: break;/' vision/image/dl_image_process.cpp
123127
cd ${{ github.workspace }}/boards/
124128
125129
# Check if a variant is defined and adjust the idf.py command

0 commit comments

Comments
 (0)