camera: fix CONFIG_SENSOR_01 memory alloc error and ov5640 preview framerate turn up to 30fps

This commit is contained in:
ddl
2012-12-07 10:34:29 +08:00
parent db17453a2f
commit 1a31a08df6
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@
#ifdef CONFIG_SENSOR_IIC_ADDR_01
#if (CONFIG_SENSOR_IIC_ADDR_01 != 0x00)
#define PMEM_SENSOR_FULL_RESOLUTION_01 CONS(CONFIG_SENSOR_02,_FULL_RESOLUTION)
#define PMEM_SENSOR_FULL_RESOLUTION_01 CONS(CONFIG_SENSOR_01,_FULL_RESOLUTION)
#ifdef CONFIG_SENSOR_CIF_INDEX_01
#define SENSOR_CIF_BUSID_01 CONS(RK_CAM_PLATFORM_DEV_ID_,CONFIG_SENSOR_CIF_INDEX_01)

View File

@@ -204,7 +204,7 @@ static struct reginfo sensor_init_data[] =
{0x3034, 0x1a},
{0x3035, 0x21},
{0x3036, 0x46},
{0x3037, 0x13},
{0x3037, 0x03},
{0x3108, 0x01},
{0x3630, 0x36},
{0x3631, 0x0e},