Skip to content

Commit ee0f1eb

Browse files
authored
Fix broken while loops in camera.cpp
compiling code is broken without these lines
1 parent d6503bd commit ee0f1eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorial/training/Src/camera.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ int DecodeandProcessRGB565(int image_width, int image_height,
173173
}
174174
}
175175
}
176+
return 0;
176177
}
177178

178179
int DecodeandProcessAndRGB(int image_width, int image_height,
@@ -271,6 +272,7 @@ int DecodeandProcessAndRGB(int image_width, int image_height,
271272
}
272273
}
273274
}
275+
return 0;
274276
}
275277

276278
int DecodeandProcess(int image_width, int image_height, uint8_t *image_data) {

0 commit comments

Comments
 (0)