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:
Mark Ruvald Pedersen 2019-02-27 10:40:03 +01:00 committed by Carles Cufí
commit 99fae68010
5 changed files with 34 additions and 13 deletions

View file

@ -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;
}
}