STM32F3 and STM32F4 I2C: Remove the extra NONE event from the trace dump output.

This commit is contained in:
Ouss4 2018-12-08 13:04:46 -06:00 committed by Gregory Nutt
parent 701c8abbbb
commit af11d47b01
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,