mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
net: unify FAR keyword usage for all net buffer memory mapped buffers
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
fc3167b584
commit
08043fb5bc
@@ -451,7 +451,7 @@ typedef CODE int (*devif_poll_callback_t)(FAR struct net_driver_s *dev);
|
||||
* Ethernet, you will need to call the network ARP code before calling
|
||||
* this function:
|
||||
*
|
||||
* #define BUF ((struct eth_hdr_s *)&dev->d_buf[0])
|
||||
* #define BUF ((FAR struct eth_hdr_s *)&dev->d_buf[0])
|
||||
* dev->d_len = ethernet_devicedrver_poll();
|
||||
* if (dev->d_len > 0)
|
||||
* {
|
||||
|
||||
Reference in New Issue
Block a user