Remember second strtol as well
Same change to the strtol a few lines down, affecting the last byte of the MAC address.
This commit is contained in:
parent
6a80aaa7f3
commit
f9d06c8c76
1 changed files with 1 additions and 1 deletions
|
@ -1358,7 +1358,7 @@ void GCodes::SetMACAddress(GCodeBuffer *gb)
|
|||
}else
|
||||
sp++;
|
||||
}
|
||||
mac[ipp] = strtol(&ipString[spp], NULL, 0);
|
||||
mac[ipp] = strtol(&ipString[spp], NULL, 16);
|
||||
if(ipp == 5)
|
||||
{
|
||||
platform->SetMACAddress(mac);
|
||||
|
|
Reference in a new issue