You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ha...@apache.org on 2021/09/09 11:30:35 UTC

[mynewt-nimble] branch master updated: porting/nimble/src/nimble_port: riot initializes timers

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 7d3f3cc  porting/nimble/src/nimble_port: riot initializes timers
7d3f3cc is described below

commit 7d3f3cc6afce62a628404856fe4f90e27e04350a
Author: Francisco Molina <fe...@uc.cl>
AuthorDate: Mon Apr 19 15:47:49 2021 +0200

    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 484e379..d4824d0 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
 }