Show BluetoothAdress in correct order
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29474 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
011db60a81
commit
d834120754
@ -45,9 +45,9 @@ public:
|
||||
// TODO: not safe
|
||||
static char str[18];
|
||||
|
||||
sprintf(str,"%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",bdaddr.b[0],
|
||||
bdaddr.b[1], bdaddr.b[2], bdaddr.b[3], bdaddr.b[4],
|
||||
bdaddr.b[5]);
|
||||
sprintf(str,"%2.2X:%2.2X:%2.2X:%2.2X:%2.2X:%2.2X",bdaddr.b[5],
|
||||
bdaddr.b[4], bdaddr.b[3], bdaddr.b[2], bdaddr.b[1],
|
||||
bdaddr.b[0]);
|
||||
return str;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user