diff --git a/src/modcamera.c b/src/modcamera.c index fac4f6f..13897b1 100644 --- a/src/modcamera.c +++ b/src/modcamera.c @@ -90,14 +90,6 @@ static inline int get_mapped_jpeg_quality(int8_t quality) { return map(quality, 0, 100, 63, 0); } -static bool validate_pixel_format(mp_camera_obj_t *self, mp_camera_pixformat_t pixel_format) { - const char *Name = mp_camera_hal_get_sensor_name(self) - if (strcmp(Name, "OV2640")) { - if (self->camera_config.pixel_format != PIXFORMAT_RGB565) / - && self->camera_config.pixel_format - } -} - // Camera HAL Funcitons void mp_camera_hal_construct( mp_camera_obj_t *self,