mbed OS5

Fork of UIPEthernet by Zoltan Hudak

Revision:
9:e55652bed36c
Parent:
8:4acb22344932
--- a/utility/Enc28J60Network.cpp	Fri Jun 30 19:51:28 2017 +0000
+++ b/utility/Enc28J60Network.cpp	Sun Aug 06 16:01:26 2017 +0000
@@ -43,7 +43,7 @@
  * @retval
  */
 Enc28J60Network::Enc28J60Network(PinName mosi, PinName miso, PinName sclk, PinName cs) :
-    MemoryPool(),
+    myMemoryPool(),
     _spi(mosi, miso, sclk),
     _cs(cs)
 { }
@@ -55,7 +55,7 @@
  * @retval
  */
 void Enc28J60Network::init(uint8_t* macaddr) {
-    MemoryPool::init();         // 1 byte in between RX_STOP_INIT and pool to allow prepending of controlbyte
+    myMemoryPool::init();         // 1 byte in between RX_STOP_INIT and pool to allow prepending of controlbyte
 
     // initialize SPI interface
     _spi.format(8, 0);          // 8bit, mode 0