more config clean up
This commit is contained in:
1 parent
3f4d9a2159
commit
bf3c11c723
3 files changed
+30
-12
No files matched your search
@@ -160,10 +160,10 @@ void BLEGap::_eventHandler(ble_evt_t* evt)
|
||||
(void) sd_ble_tx_packet_count_get(conn_handle, &txbuf_max);
|
||||
peer->hvn_tx_sem = xSemaphoreCreateCounting(txbuf_max, txbuf_max);
|
||||
#else
|
||||
peer->hvn_tx_sem = xSemaphoreCreateCounting(CFG_GAP_HVN_TX_QUEUE_SIZE, CFG_GAP_HVN_TX_QUEUE_SIZE);
|
||||
peer->hvn_tx_sem = xSemaphoreCreateCounting(Bluefruit.getHvnTxQueue(), Bluefruit.getHvnTxQueue());
|
||||
#endif
|
||||
|
||||
peer->wrcmd_tx_sem = xSemaphoreCreateCounting(CFG_GAP_WRITECMD_TX_QUEUE_SIZE, CFG_GAP_WRITECMD_TX_QUEUE_SIZE);
|
||||
peer->wrcmd_tx_sem = xSemaphoreCreateCounting(Bluefruit.getWriteCmdQueue(), Bluefruit.getWriteCmdQueue());
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user