From 23135ddd77cbb3939d964904d76523fc8d175e6d Mon Sep 17 00:00:00 2001 From: yutaka Date: Tue, 28 Aug 2007 04:47:18 +0000 Subject: [PATCH] small fix git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@255 4ee2a332-4b2b-5046-8439-1ba90f034370 --- include/twl/camera/ARM7/i2c_micron.h | 2 +- include/twl/camera/ARM7/i2c_sharp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/twl/camera/ARM7/i2c_micron.h b/include/twl/camera/ARM7/i2c_micron.h index dfa2289..f9880f7 100644 --- a/include/twl/camera/ARM7/i2c_micron.h +++ b/include/twl/camera/ARM7/i2c_micron.h @@ -136,7 +136,7 @@ static inline BOOL CAMERA_M_WriteRegisters( CameraSelect camera, u16 reg, const BOOL rOut = TRUE; if (camera & CAMERA_SELECT_IN) { - rOut = I2C_WriteRegisters16( I2C_SLAVE_CAMERA_MICRON_IN, reg, bufp, size ); + rIn = I2C_WriteRegisters16( I2C_SLAVE_CAMERA_MICRON_IN, reg, bufp, size ); } if (camera & CAMERA_SELECT_OUT) { diff --git a/include/twl/camera/ARM7/i2c_sharp.h b/include/twl/camera/ARM7/i2c_sharp.h index ed4d528..ab28379 100644 --- a/include/twl/camera/ARM7/i2c_sharp.h +++ b/include/twl/camera/ARM7/i2c_sharp.h @@ -136,7 +136,7 @@ static inline BOOL CAMERA_S_WriteRegisters( CameraSelect camera, u8 reg, const u BOOL rOut = TRUE; if (camera & CAMERA_SELECT_IN) { - rOut = I2C_WriteRegisters( I2C_SLAVE_CAMERA_SHARP_IN, reg, bufp, size ); + rIn = I2C_WriteRegisters( I2C_SLAVE_CAMERA_SHARP_IN, reg, bufp, size ); } if (camera & CAMERA_SELECT_OUT) {