Bluetooth: controller: Remove compiler specific warning
Some compilers can't resolve the conditional if/else/else construction in ull_conn event_len_prep function, and fail with an 'uninitialized variables' error. The change has no functional impact. Signed-off-by: Morten Priess <mtpr@oticon.com>
This commit is contained in:
parent
baa72d8c32
commit
c1cb5ea540
1 changed files with 2 additions and 2 deletions
|
@ -3136,8 +3136,8 @@ static inline void event_len_prep(struct ll_conn *conn)
|
|||
struct pdu_data_llctrl_length_req *lr;
|
||||
struct pdu_data *pdu_ctrl_tx;
|
||||
struct node_tx *tx;
|
||||
u16_t rx_time;
|
||||
u16_t tx_time;
|
||||
u16_t rx_time = 0;
|
||||
u16_t tx_time = 0;
|
||||
/*
|
||||
* Using bool instead of u8_t increases code size
|
||||
* in this case.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue