mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
STM32F3 and STM32F4 I2C: Remove the extra NONE event from the trace dump output.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user