mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14262 from mikaleppanen/feat_wisun_mac_addr_get_corr
[feature-wisun] Added missing const qualifier to mesh ethernet mac addr getpull/14431/head
commit
72de76596e
|
@ -28,7 +28,7 @@ public:
|
|||
nsapi_ip_stack_t stack = DEFAULT_STACK,
|
||||
bool blocking = true);
|
||||
virtual nsapi_error_t bringdown();
|
||||
virtual void get_mac_address(uint8_t *buf);
|
||||
virtual void get_mac_address(uint8_t *buf) const;
|
||||
virtual char *get_mac_address(char *buf, nsapi_size_t buflen);
|
||||
|
||||
char *get_interface_name(char *buf);
|
||||
|
|
|
@ -130,7 +130,7 @@ char *Nanostack::EthernetInterface::get_interface_name(char *buf)
|
|||
return buf;
|
||||
};
|
||||
|
||||
void Nanostack::EthernetInterface::get_mac_address(uint8_t *buf)
|
||||
void Nanostack::EthernetInterface::get_mac_address(uint8_t *buf) const
|
||||
{
|
||||
if (!buf) {
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue