[DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.

patched by FH.
This commit is contained in:
Bernard Xiong 2016-05-20 12:22:55 +08:00
parent f005d963e2
commit ac3af54a7e
1 changed files with 1 additions and 1 deletions

View File

@ -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;