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 2022/11/04 15:14:48 UTC

[GitHub] [mynewt-nimble] apache-mynewt-bot commented on pull request #1404: nimble/ll: Extend controller busy helper with flags

apache-mynewt-bot commented on PR #1404:
URL: https://github.com/apache/mynewt-nimble/pull/1404#issuecomment-1303734472

   
   <!-- style-bot -->
   
   ## Style check summary
   
   ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md)
   
   
   #### nimble/controller/src/ble_ll_resolv.c
   <details>
   
   ```diff
   @@ -34,8 +34,7 @@
    #include "ble_ll_priv.h"
    
    #if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_PRIVACY)
   -struct ble_ll_resolv_data
   -{
   +struct ble_ll_resolv_data {
        uint8_t addr_res_enabled;
        uint8_t rl_size;
        uint8_t rl_cnt_hw;
   @@ -62,7 +61,7 @@
        int rc;
    
        if (g_ble_ll_resolv_data.addr_res_enabled &&
   -            ble_ll_is_busy(BLE_LL_BUSY_EXCLUDE_CONNECTIONS)) {
   +        ble_ll_is_busy(BLE_LL_BUSY_EXCLUDE_CONNECTIONS)) {
            rc = 0;
        } else {
            rc = 1;
   @@ -429,7 +428,7 @@
        }
    
        if (ble_ll_is_busy(BLE_LL_BUSY_EXCLUDE_CONNECTIONS)) {
   -        return  BLE_ERR_CMD_DISALLOWED;
   +        return BLE_ERR_CMD_DISALLOWED;
    
        }
    
   ```
   
   </details>


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org