From 37245d0c3f239c35c0c734a337c7b6301fcfd70b Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Mon, 13 Jan 2020 15:12:39 +0100 Subject: [PATCH] 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 67eb74e18..61c1ea8a0 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