fixed some typos

This commit is contained in:
luhuadong
2020-05-09 10:33:36 +08:00
parent 6fb9824348
commit 88a02d7bd8
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ int netdev_cmd_ping(char* target_name, rt_uint32_t times, rt_size_t size)
}
}
/* if the response time is more than NETDEV_PING_DELAY, no nead to delay */
/* if the response time is more than NETDEV_PING_DELAY, no need to delay */
delay_tick = ((rt_tick_get() - start_tick) > NETDEV_PING_DELAY) || (index == times) ? 0 : NETDEV_PING_DELAY;
rt_thread_delay(delay_tick);
}