Skip to content

Commit 8f3aa24

Browse files
committed
- fix issue with Uno and IDE 1.6.12 (#87)
1 parent 19c0cff commit 8f3aa24

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

BLEUtil.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44

55
void BLEUtil::addressToString(const unsigned char *in, char* out) {
66
String address = "";
7+
String hex;
78

89
for (int i = 5; i >= 0; i--) {
910
if (in[i] < 0x10) {
1011
address += "0";
1112
}
1213

13-
address += String(in[i], 16);
14+
hex = String(in[i], 16);
15+
address += hex;
1416

1517
if (i > 0) {
1618
address += ":";

0 commit comments

Comments
 (0)