Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of libMiMic by
Diff: driver/uip/EthDev.cpp
- Revision:
- 0:142ee8b12fef
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/driver/uip/EthDev.cpp Wed Jan 30 03:46:05 2013 +0000 @@ -0,0 +1,20 @@ +#include "EthDev.h" +#include "EtherDev_DP83848C_protected.h" +#include "EtherDev_LAN8720_protected.h" + + + +const struct TiEthernetDevice* getEthernetDevicePnP(void) +{ + const struct TiEthernetDevice* ret; + if(EthDev_LAN8720_getInterface(&ret)){ + return ret; + } + if(EthDev_DP83848C_getInterface(&ret)){ + return ret; + } + return NULL; +} + + +