From a1c40a4324c87017198e944c7e853c1520492f97 Mon Sep 17 00:00:00 2001 From: Octasic Inc Date: Fri, 12 Nov 2010 08:58:52 +0200 Subject: importing OCT612x-01.04.04 --- software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c') diff --git a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c index 16c4a4b..32208ba 100644 --- a/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c +++ b/software/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c @@ -24,9 +24,9 @@ You should have received a copy of the GNU General Public License along with the OCT6100 GPL API; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. -$Octasic_Release: OCT612xAPI-01.04.01 $ +$Octasic_Release: OCT612xAPI-01.04.04 $ -$Octasic_Revision: 383 $ +$Octasic_Revision: 388 $ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ @@ -2204,6 +2204,8 @@ UINT32 Oct6100ApiDecodeKeyAndBist( /* Wait for the key decode PC to clear. */ ulResult = Oct6100ApiWaitForPcRegisterBit( f_pApiInstance, 0x160, 0, 0, 100000, &fBitEqual ); + if ( ulResult != cOCT6100_ERR_OK ) + return ulResult; if ( TRUE != fBitEqual ) return cOCT6100_ERR_FATAL_13; -- cgit v1.2.3