mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-28 16:11:24 +00:00
mesh: mesh_network_address_unicast returns false for MESH_ADDRESS_UNSASSIGNED
This commit is contained in:
parent
93bb2d2c93
commit
ce90ed1aac
@ -166,7 +166,7 @@ static void mesh_network_cache_add(uint32_t hash){
|
||||
|
||||
// common helper
|
||||
int mesh_network_address_unicast(uint16_t addr){
|
||||
return addr < 0x8000;
|
||||
return addr != MESH_ADDRESS_UNSASSIGNED && (addr < 0x8000);
|
||||
}
|
||||
|
||||
int mesh_network_address_virtual(uint16_t addr){
|
||||
|
Loading…
x
Reference in New Issue
Block a user