Skip to content
Commit 786b9a0a authored by Lingao Meng's avatar Lingao Meng Committed by Fabio Baltieri
Browse files

Bluetooth: Host: Add const prefix for UUID



Add const prefix for service uuid and char uuid.

Since Service UUID and Char UUID should not change in the service
definition, they are most reasonably defined as rodata, also for
save some ram footprint.

The field `attr->user_data` type is `void *`, as this PR change
all Service UUID to rodata, so there must add (void *) to avoid warning.

Signed-off-by: default avatarLingao Meng <menglingao@xiaomi.com>
parent a51af147
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment