Skip to content

Commit 823081e

Browse files
committed
Cleanup
1 parent 5952ebf commit 823081e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/modcamera.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,6 @@ static inline int get_mapped_jpeg_quality(int8_t quality) {
9090
return map(quality, 0, 100, 63, 0);
9191
}
9292

93-
static bool validate_pixel_format(mp_camera_obj_t *self, mp_camera_pixformat_t pixel_format) {
94-
const char *Name = mp_camera_hal_get_sensor_name(self)
95-
if (strcmp(Name, "OV2640")) {
96-
if (self->camera_config.pixel_format != PIXFORMAT_RGB565) /
97-
&& self->camera_config.pixel_format
98-
}
99-
}
100-
10193
// Camera HAL Funcitons
10294
void mp_camera_hal_construct(
10395
mp_camera_obj_t *self,

0 commit comments

Comments
 (0)