mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
Networking: Remove the HSEC argument from devif_timer.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <nuttx/clock.h>
|
||||
#include <nuttx/net/netstats.h>
|
||||
#include <nuttx/net/ip.h>
|
||||
|
||||
@@ -139,14 +140,6 @@ const struct ether_addr g_ipv6_ethallrouters = /* All link local routers */
|
||||
#endif /* CONFIG_NET_ICMPv6_AUTOCONF || CONFIG_NET_ICMPv6_ROUTER */
|
||||
#endif /* CONFIG_NET_IPv4 */
|
||||
|
||||
/****************************************************************************
|
||||
* Private Variables
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@@ -167,6 +160,10 @@ const struct ether_addr g_ipv6_ethallrouters = /* All link local routers */
|
||||
|
||||
void devif_initialize(void)
|
||||
{
|
||||
/* Initialize the time of the last timer poll */
|
||||
|
||||
g_polltime = clock_systimer();
|
||||
|
||||
/* Initialize callback support */
|
||||
|
||||
devif_callback_init();
|
||||
|
||||
Reference in New Issue
Block a user