mirror of https://github.com/ARMmbed/mbed-os.git
Added missing const qualifier to mesh ethernet mac addr get
parent
aa561ee8f5
commit
08bec7583d
|
@ -28,7 +28,7 @@ public:
|
|||
nsapi_ip_stack_t stack = DEFAULT_STACK,
|
||||
bool blocking = true) override;
|
||||
nsapi_error_t bringdown() override;
|
||||
void get_mac_address(uint8_t *buf);
|
||||
void get_mac_address(uint8_t *buf) const override;
|
||||
char *get_mac_address(char *buf, nsapi_size_t buflen) override;
|
||||
|
||||
char *get_interface_name(char *buf) override;
|
||||
|
|
|
@ -133,7 +133,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