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 37245d0 npl/riot: adapt to xtimer API change
37245d0 is described below
commit 37245d0c3f239c35c0c734a337c7b6301fcfd70b
Author: Hauke Petersen <[email protected]>
AuthorDate: Mon Jan 13 15:12:39 2020 +0100
npl/riot: adapt to xtimer API change
---
porting/npl/riot/include/nimble/nimble_npl_os.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/porting/npl/riot/include/nimble/nimble_npl_os.h
b/porting/npl/riot/include/nimble/nimble_npl_os.h
index 67eb74e..61c1ea8 100644
--- a/porting/npl/riot/include/nimble/nimble_npl_os.h
+++ b/porting/npl/riot/include/nimble/nimble_npl_os.h
@@ -209,7 +209,7 @@ ble_npl_callout_stop(struct ble_npl_callout *co)
static inline bool
ble_npl_callout_is_active(struct ble_npl_callout *c)
{
- return (c->timer.target || c->timer.long_target);
+ return (c->timer.offset || c->timer.long_offset);
}
static inline ble_npl_time_t