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:
parent
eee82177f5
commit
38e862635c
@ -698,7 +698,7 @@ static void stm32_i2c_tracedump(FAR struct stm32_i2c_priv_s *priv)
|
|||||||
|
|
||||||
/* Dump all of the buffered trace entries */
|
/* 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,
|
lib_rawprintf("%2d. STATUS: %08x COUNT: %3d EVENT: %2d PARM: %08x\n", i,
|
||||||
priv->trace[i].status, priv->trace[i].count,
|
priv->trace[i].status, priv->trace[i].count,
|
||||||
@ -1144,7 +1144,7 @@ static int stm32_i2c_isr(struct stm32_i2c_priv_s * priv)
|
|||||||
#else
|
#else
|
||||||
priv->intstate = INTSTATE_DONE;
|
priv->intstate = INTSTATE_DONE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
priv->status = status;
|
priv->status = status;
|
||||||
return OK;
|
return OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user