mirror of
https://github.com/bluekitchen/btstack.git
synced 2024-12-29 09:26:08 +00:00
daemon: fix build
This commit is contained in:
parent
c77e7c454e
commit
b178f6a6e6
@ -78,7 +78,7 @@ uint8_t rfcomm_service_db_channel_for_service(const char *serviceName){
|
||||
|
||||
if (!newItem) return 0;
|
||||
|
||||
memset(new, 0, sizeof(db_mem_service_t));
|
||||
memset(newItem, 0, sizeof(db_mem_service_t));
|
||||
strncpy(newItem->service_name, serviceName, MAX_NAME_LEN);
|
||||
newItem->service_name[MAX_NAME_LEN] = 0;
|
||||
newItem->channel = max_channel;
|
||||
|
Loading…
Reference in New Issue
Block a user