You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2020/02/11 12:12:39 UTC
[GitHub] [mynewt-nimble] sjanc commented on a change in pull request #753:
npl/riot: Improve timer glue code
sjanc commented on a change in pull request #753: npl/riot: Improve timer glue code
URL: https://github.com/apache/mynewt-nimble/pull/753#discussion_r377597180
##########
File path: porting/npl/riot/include/nimble/nimble_npl_os.h
##########
@@ -215,7 +215,7 @@ ble_npl_callout_is_active(struct ble_npl_callout *c)
static inline ble_npl_time_t
ble_npl_callout_get_ticks(struct ble_npl_callout *co)
{
- return co->target_ticks;
+ return (ble_npl_time_t)co->target_ticks;
Review comment:
this looks a bit odd, shouldn't ble_npl_time_t in riot port be change to uint64_t ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services