File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,10 @@ unsigned long arduino::EthernetClass::getTime() {
103
103
104
104
void arduino::EthernetClass::MACAddress (uint8_t *mac_address)
105
105
{
106
- macAddress (mac_address);
106
+ /* implementation in SocketHelpers.cpp
107
+ * arduino::MbedSocketClass::macAddress(uint8_t* mac, bool reversed)
108
+ */
109
+ macAddress (mac_address, true );
107
110
}
108
111
109
112
arduino::EthernetClass Ethernet (static_cast <EthernetInterface*>(EthInterface::get_default_instance()));
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ class EthernetClass : public MbedSocketClass {
83
83
}
84
84
void init (uint8_t sspin = 10 );
85
85
86
- void MACAddress (uint8_t *mac_address);
86
+ void MACAddress (uint8_t *mac_address)__attribute__ ((deprecated( " Use macAddress(uint8_t *mac_address) " ))) ;
87
87
88
88
int disconnect (void );
89
89
void end (void );
You can’t perform that action at this time.
0 commit comments