Skip to content

Commit 6a821a8

Browse files
committed
Fix 128x128 resolution index
Framesize enum was not matching the resolution index for 128x128
1 parent 4335c93 commit 6a821a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/sensor.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ const camera_sensor_info_t camera_sensor[CAMERA_MODEL_MAX] = {
2222

2323
const resolution_info_t resolution[FRAMESIZE_INVALID] = {
2424
{ 96, 96, ASPECT_RATIO_1X1 }, /* 96x96 */
25-
{ 128, 128, ASPECT_RATIO_1X1 }, /* 128x128 */
2625
{ 160, 120, ASPECT_RATIO_4X3 }, /* QQVGA */
26+
{ 128, 128, ASPECT_RATIO_1X1 }, /* 128x128 */
2727
{ 176, 144, ASPECT_RATIO_5X4 }, /* QCIF */
2828
{ 240, 176, ASPECT_RATIO_4X3 }, /* HQVGA */
2929
{ 240, 240, ASPECT_RATIO_1X1 }, /* 240x240 */

0 commit comments

Comments
 (0)