mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
btstack_link_key_db_fs: use btstack_snprintf_assert_complete
This commit is contained in:
parent
c75b474d0b
commit
d5bacf302a
@ -85,7 +85,7 @@ static char *link_key_to_str(link_key_t link_key){
|
||||
|
||||
static char link_key_type_to_str_buffer[2];
|
||||
static char *link_key_type_to_str(link_key_type_t link_key){
|
||||
snprintf(link_key_type_to_str_buffer, sizeof(link_key_type_to_str_buffer), "%d", link_key);
|
||||
btstack_snprintf_assert_complete(link_key_type_to_str_buffer, sizeof(link_key_type_to_str_buffer), "%d", link_key);
|
||||
return (char *) link_key_type_to_str_buffer;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user