Bluetooth: controller: commentary and readability improvements
* Rename the stack local 'done' to 'evdone' so as to disambiguate from MFIFO_DEQUEUE_PEEK(done) which is actually 'mfifo_done'. * add comment on ull_slave_done * add comments to addr_us_get * add comments to HCI_CLASS Signed-off-by: Mark Ruvald Pedersen <mped@oticon.com>
This commit is contained in:
parent
23636cbae0
commit
99fae68010
5 changed files with 34 additions and 13 deletions
|
@ -648,11 +648,11 @@ static inline u32_t addr_us_get(u8_t phy)
|
|||
{
|
||||
switch (phy) {
|
||||
default:
|
||||
case BIT(0):
|
||||
case BIT(0): /* 1Mbps */
|
||||
return 40;
|
||||
case BIT(1):
|
||||
case BIT(1): /* 2Mbps */
|
||||
return 24;
|
||||
case BIT(2):
|
||||
case BIT(2): /* Coded */
|
||||
return 376;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue