common/bluetooth_le.c: Format with clang-format
BRANCH=none
TEST=none
@@ -75,8 +75,8 @@ uint8_t get_next_data_channel(struct remapping_table *rt)
(1 << (rt->last_unmapped_channel % 8)))
return rt->last_unmapped_channel;
else
- return rt->remapping_index
- [rt->last_unmapped_channel % rt->num_used_channels];
+ return rt->remapping_index[rt->last_unmapped_channel %
+ rt->num_used_channels];
}
/* BLE 4.1 Vol 3 Part C 11 */
@@ -160,8 +160,8 @@ void dump_ble_packet(struct ble_pdu *ble_p)
int curr_offs;
if (ble_p->header_type_adv) {
- CPRINTF("BLE packet @ %pP: type %d, len %d, %s %s\n",
- ble_p, ble_p->header.adv.type, ble_p->header.adv.length,
+ CPRINTF("BLE packet @ %pP: type %d, len %d, %s %s\n", ble_p,
+ ble_p->header.adv.type, ble_p->header.adv.length,
(ble_p->header.adv.txaddr ? " TXADDR" : ""),
(ble_p->header.adv.rxaddr ? " RXADDR" : ""));
