28 lines
725 B
Diff
28 lines
725 B
Diff
From e9728411aeed6c614b1f27bccd8f2c70bef9f560 Mon Sep 17 00:00:00 2001
|
|
From: Francisco Molina <femolina@uc.cl>
|
|
Date: Mon, 19 Apr 2021 15:47:49 +0200
|
|
Subject: [PATCH 1/2] porting/nimble/src/nimble_port: riot initializes timers
|
|
|
|
---
|
|
porting/nimble/src/nimble_port.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/porting/nimble/src/nimble_port.c b/porting/nimble/src/nimble_port.c
|
|
index 484e3799..d4824d0b 100644
|
|
--- a/porting/nimble/src/nimble_port.c
|
|
+++ b/porting/nimble/src/nimble_port.c
|
|
@@ -45,8 +45,10 @@ nimble_port_init(void)
|
|
|
|
#if NIMBLE_CFG_CONTROLLER
|
|
ble_hci_ram_init();
|
|
+#ifndef RIOT_VERSION
|
|
hal_timer_init(5, NULL);
|
|
os_cputime_init(32768);
|
|
+#endif
|
|
ble_ll_init();
|
|
#endif
|
|
}
|
|
--
|
|
2.28.0
|
|
|