Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cnadler86 committed Oct 29, 2024
1 parent 5952ebf commit 823081e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/modcamera.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 823081e

Please sign in to comment.