mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-13 00:47:20 +00:00
fix de_get_uuid32
This commit is contained in:
parent
44a024d4f1
commit
919da6fe50
@ -155,7 +155,7 @@ uint32_t de_get_uuid32(uint8_t * element){
|
|||||||
if (!validUuid128) return 0;
|
if (!validUuid128) return 0;
|
||||||
int hasBlueoothBaseUuid = sdp_has_blueooth_base_uuid(uuid128);
|
int hasBlueoothBaseUuid = sdp_has_blueooth_base_uuid(uuid128);
|
||||||
if (!hasBlueoothBaseUuid) return 0;
|
if (!hasBlueoothBaseUuid) return 0;
|
||||||
return READ_NET_32(element, 0);
|
return READ_NET_32(uuid128, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// functions to create record
|
// functions to create record
|
||||||
|
Loading…
Reference in New Issue
Block a user