diff --git a/src/ble/le_device_db_tlv.c b/src/ble/le_device_db_tlv.c index b68dca5a0..278ef853d 100644 --- a/src/ble/le_device_db_tlv.c +++ b/src/ble/le_device_db_tlv.c @@ -140,21 +140,24 @@ static int le_device_db_tlv_delete(int index){ return 1; } -void le_device_db_init(void){ +static void le_device_db_tlv_scan(void){ int i; - num_valid_entries = 0; - memset(entry_map, 0, sizeof(entry_map)); + num_valid_entries = 0; + memset(entry_map, 0, sizeof(entry_map)); for (i=0;i