mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[sonyprojector] Fix edge case in mac address decoding (#16976)
* [sonyprojector] mac fix edge case * [sonyprojector] delete redundant toLowerCase() call Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
This commit is contained in:
parent
74b76129ba
commit
812d7a77c8
@ -326,8 +326,8 @@ public class SonyProjectorSdcpConnector extends SonyProjectorConnector {
|
||||
if (!macAddress.isEmpty()) {
|
||||
macAddress = macAddress + "-";
|
||||
}
|
||||
macAddress = macAddress + Integer.toHexString(macByte);
|
||||
macAddress = macAddress + String.format("%02x", macByte);
|
||||
}
|
||||
return macAddress.toLowerCase();
|
||||
return macAddress;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user