This is an automated email from the ASF dual-hosted git repository.
hauke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new d4d4fd8 porting: rm store_ram_init from nimble_port_run()
d4d4fd8 is described below
commit d4d4fd88e01987fd766681342742609c2d3dd0c3
Author: Hauke Petersen <[email protected]>
AuthorDate: Thu Jun 11 09:55:24 2020 +0200
porting: rm store_ram_init from nimble_port_run()
The ble_store_ram module is (i) deprecated and (ii) nowhere used in the
NimBLE code base, hence there is no need to intialize it.
---
porting/nimble/src/nimble_port.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
index ff350a8..1bad96d 100644
--- a/porting/nimble/src/nimble_port.c
+++ b/porting/nimble/src/nimble_port.c
@@ -32,7 +32,7 @@ void
nimble_port_init(void)
{
void os_msys_init(void);
- void ble_store_ram_init(void);
+
#if NIMBLE_CFG_CONTROLLER
void ble_hci_ram_init(void);
#endif
@@ -44,9 +44,6 @@ nimble_port_init(void)
ble_hs_init();
- /* XXX Need to have template for store */
- ble_store_ram_init();
-
#if NIMBLE_CFG_CONTROLLER
hal_timer_init(5, NULL);
os_cputime_init(32768);