mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
Fix devif_timer() function call
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
#include <nuttx/usb/usbhost.h>
|
||||
|
||||
#define CDCMBIM_NETBUF_SIZE 8192
|
||||
#define CDCMBIM_WDDELAY (1*CLK_TCK)
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -2316,7 +2317,7 @@ static void cdcmbim_txpoll_work(void *arg)
|
||||
net_lock();
|
||||
priv->netdev.d_buf = priv->txpktbuf;
|
||||
|
||||
(void)devif_timer(&priv->netdev, cdcmbim_txpoll);
|
||||
(void)devif_timer(&priv->netdev, CDCMBIM_WDDELAY, cdcmbim_txpoll);
|
||||
|
||||
/* setup the watchdog poll timer again */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user