drv/bluetooth_btstack: only set AD params once when broadcasting
When broadcasting, the advertising parameters dont' change, so we only need to set them once when we start broadcasting. This is done by moving the code inside the if statement along with the enable function.
Showing
Please register or sign in to comment