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.
Dependencies: SNICInterface mbed-rtos mbed
Fork of murataDemo by
Diff: PowerControl/EthernetPowerControl.cpp
- Revision:
- 22:e567f0d4b05d
- Parent:
- 16:ed9b9c28f860
diff -r 25b85cbbdd82 -r e567f0d4b05d PowerControl/EthernetPowerControl.cpp
--- a/PowerControl/EthernetPowerControl.cpp Tue Jul 15 02:08:48 2014 +0000
+++ b/PowerControl/EthernetPowerControl.cpp Tue Jul 15 09:56:43 2014 +0000
@@ -1,3 +1,4 @@
+#if defined(TARGET_LPC1768)
#include "EthernetPowerControl.h"
static void write_PHY (unsigned int PhyReg, unsigned short Value) {
@@ -135,4 +136,5 @@
regv = read_PHY(PHY_REG_EDCR);
write_PHY(PHY_REG_BMCR, regv & ~(1 << PHY_REG_EDCR_ENABLE));
regv = read_PHY(PHY_REG_EDCR);
-}
\ No newline at end of file
+}
+#endif
