mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 05:16:47 +08:00
Networking: Remove the HSEC argument from devif_timer.
This commit is contained in:
+1
-2
@@ -96,7 +96,6 @@
|
||||
*/
|
||||
|
||||
#define TUN_WDDELAY (1*CLK_TCK)
|
||||
#define TUN_POLLHSEC (1*2)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
@@ -533,7 +532,7 @@ static void tun_poll_process(FAR struct tun_device_s *priv)
|
||||
/* If so, poll uIP for new XMIT data. */
|
||||
|
||||
priv->dev.d_buf = priv->read_buf;
|
||||
(void)devif_timer(&priv->dev, tun_txpoll, TUN_POLLHSEC);
|
||||
(void)devif_timer(&priv->dev, tun_txpoll);
|
||||
}
|
||||
|
||||
/* Setup the watchdog poll timer again */
|
||||
|
||||
Reference in New Issue
Block a user