mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 06:07:10 +08:00
[DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.
patched by FH.
This commit is contained in:
parent
f005d963e2
commit
ac3af54a7e
@ -675,7 +675,7 @@ static struct pbuf *enc28j60_rx(rt_device_t dev)
|
||||
else
|
||||
{
|
||||
/* allocation pbuf */
|
||||
p = pbuf_alloc(PBUF_LINK, len, PBUF_RAM);
|
||||
p = pbuf_alloc(PBUF_LINK, len, PBUF_POOL);
|
||||
if (p != RT_NULL)
|
||||
{
|
||||
struct pbuf* q;
|
||||
|
Loading…
x
Reference in New Issue
Block a user