More OV2640 initialization logic

This commit is contained in:
Gregory Nutt
2013-12-10 09:10:39 -06:00
parent 69710d1657
commit a35d366dea
+2 -2
View File
@@ -190,7 +190,7 @@ static inline void twi_putrel(struct twi_dev_s *priv, unsigned int offset,
/* I2C transfer helper functions */
static int twi_wait(struct twi_dev_s *priv);
static int twi_wakeup(struct twi_dev_s *priv, int result);
static void twi_wakeup(struct twi_dev_s *priv, int result);
static int twi_interrupt(struct twi_dev_s *priv);
#ifdef CONFIG_SAMA5_TWI0
static int twi0_interrupt(int irq, FAR void *context);
@@ -473,7 +473,7 @@ static int twi_wait(struct twi_dev_s *priv)
*
*******************************************************************************/
static int twi_wakeup(struct twi_dev_s *priv, int result)
static void twi_wakeup(struct twi_dev_s *priv, int result)
{
/* Cancel any pending timeout */