mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
Fix an error in a network device statistics macro
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
# define NETDEV_RESET_STATISTICS(dev) \
|
||||
memset(&(dev)->d_statistics, 0, sizeof(struct netdev_statistics_s))
|
||||
|
||||
# define _NETDEV_STATISTIC(dev,name) ((dev)->d_statistics.name)
|
||||
# define _NETDEV_STATISTIC(dev,name) ((dev)->d_statistics.name++)
|
||||
# define _NETDEV_ERROR(dev,name) \
|
||||
do \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user