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 2019/06/18 21:27:42 UTC

[GitHub] [mynewt-nimble] rymanluk commented on a change in pull request #439: mesh/adv.c: fix advertising duration

rymanluk commented on a change in pull request #439: mesh/adv.c: fix advertising duration
URL: https://github.com/apache/mynewt-nimble/pull/439#discussion_r295036427
 
 

 ##########
 File path: nimble/host/mesh/src/adv.c
 ##########
 @@ -105,9 +105,14 @@ static inline void adv_send(struct os_mbuf *buf)
 
 	adv_int = max(adv_int_min,
 		      BT_MESH_TRANSMIT_INT(BT_MESH_ADV(buf)->xmit));
+#ifdef MYNEWT_VAL(BLE_CONTROLLER)
 
 Review comment:
   I believe it should be #if MYNEWT_VAL(BLE_CONTROLLER) as we want to check for value 1 

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