[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
|
else
|
||||||
{
|
{
|
||||||
/* allocation pbuf */
|
/* allocation pbuf */
|
||||||
p = pbuf_alloc(PBUF_LINK, len, PBUF_RAM);
|
p = pbuf_alloc(PBUF_LINK, len, PBUF_POOL);
|
||||||
if (p != RT_NULL)
|
if (p != RT_NULL)
|
||||||
{
|
{
|
||||||
struct pbuf* q;
|
struct pbuf* q;
|
||||||
|
|
Loading…
Reference in New Issue