Add sim C++ support

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4024 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-10-05 19:02:00 +00:00
parent eee82177f5
commit 38e862635c

View File

@ -698,7 +698,7 @@ static void stm32_i2c_tracedump(FAR struct stm32_i2c_priv_s *priv)
/* Dump all of the buffered trace entries */
for (i = 0; i < priv->tndx; i++)
for (i = 0; i <= priv->tndx; i++)
{
lib_rawprintf("%2d. STATUS: %08x COUNT: %3d EVENT: %2d PARM: %08x\n", i,
priv->trace[i].status, priv->trace[i].count,
@ -1144,7 +1144,7 @@ static int stm32_i2c_isr(struct stm32_i2c_priv_s * priv)
#else
priv->intstate = INTSTATE_DONE;
#endif
}
}
priv->status = status;
return OK;