STM32F3 and STM32F4 I2C: Remove the extra NONE event from the trace dump output.
This commit is contained in:
parent
701c8abbbb
commit
af11d47b01
@ -1030,7 +1030,7 @@ static void stm32_i2c_tracedump(FAR struct stm32_i2c_priv_s *priv)
|
||||
syslog(LOG_DEBUG, "Elapsed time: %ld\n",
|
||||
(long)(clock_systimer() - priv->start_time));
|
||||
|
||||
for (i = 0; i <= priv->tndx; i++)
|
||||
for (i = 0; i < priv->tndx; i++)
|
||||
{
|
||||
trace = &priv->trace[i];
|
||||
syslog(LOG_DEBUG,
|
||||
|
@ -970,7 +970,7 @@ static void stm32_i2c_tracedump(FAR struct stm32_i2c_priv_s *priv)
|
||||
syslog(LOG_DEBUG, "Elapsed time: %ld\n",
|
||||
(long)(clock_systimer() - priv->start_time));
|
||||
|
||||
for (i = 0; i <= priv->tndx; i++)
|
||||
for (i = 0; i < priv->tndx; i++)
|
||||
{
|
||||
trace = &priv->trace[i];
|
||||
syslog(LOG_DEBUG,
|
||||
|
Loading…
Reference in New Issue
Block a user