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 2018/09/05 23:15:24 UTC

[GitHub] nutka7 commented on a change in pull request #163: [WIP] Add support for Nordic RAAL

nutka7 commented on a change in pull request #163: [WIP] Add support for Nordic RAAL
URL: https://github.com/apache/mynewt-nimble/pull/163#discussion_r215453835
 
 

 ##########
 File path: nimble/controller/src/ble_ll_sched.c
 ##########
 @@ -1237,6 +1252,81 @@ ble_ll_sched_next_time(uint32_t *next_event_time)
     return rc;
 }
 
+uint8_t
+ble_ll_sched_get_current_type(void)
+{
+    if ((int32_t)(g_ble_ll_sched_current.end_time - os_cputime_get32()) > 0) {
 
 Review comment:
   What is the meaning of BLE_LL_SCHED_TYPE_NONE? Shouldn't the condition check for <= 0? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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