Skip to content

Commit

Permalink
Fix 128x128 resolution index
Browse files Browse the repository at this point in the history
Framesize enum was not matching the resolution index for 128x128
  • Loading branch information
me-no-dev committed Jan 6, 2025
1 parent 4335c93 commit 6a821a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/sensor.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const camera_sensor_info_t camera_sensor[CAMERA_MODEL_MAX] = {

const resolution_info_t resolution[FRAMESIZE_INVALID] = {
{ 96, 96, ASPECT_RATIO_1X1 }, /* 96x96 */
{ 128, 128, ASPECT_RATIO_1X1 }, /* 128x128 */
{ 160, 120, ASPECT_RATIO_4X3 }, /* QQVGA */
{ 128, 128, ASPECT_RATIO_1X1 }, /* 128x128 */
{ 176, 144, ASPECT_RATIO_5X4 }, /* QCIF */
{ 240, 176, ASPECT_RATIO_4X3 }, /* HQVGA */
{ 240, 240, ASPECT_RATIO_1X1 }, /* 240x240 */
Expand Down

0 comments on commit 6a821a8

Please sign in to comment.