zephyr/subsys
Emil Gydesen 0a4e62addd Bluetooth: Audio: Remove PAC_TYPE_UNUSED
The PAC_TYPE_UNUSED would be breaking
enum rules, as it is setting and comparing
a value outside the enum range.

Instead we check if the `dir` field has been
set to SINK or SOURCE.

The reason why this still works, is that
we memset the struct unicast_client_pac
causing `dir` to become 0. This still
does not really follow the rules of enums, but
it is the best we can do without adding another
value to determine if a struct unicast_client_pac
is unused or not, without adding another value to
public enum struct.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
2022-05-10 18:56:00 +02:00
..
bluetooth Bluetooth: Audio: Remove PAC_TYPE_UNUSED 2022-05-10 18:56:00 +02:00
canbus subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
console subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
cpp subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
debug subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
demand_paging subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
dfu subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
disk subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
emul subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fb subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
fs subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
ipc subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
jwt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
logging logging: syst: embed log message source IDs in Sys-T messages 2022-05-09 12:54:53 -05:00
lorawan subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
mgmt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
modbus subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
net subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
pm subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
portability subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
random subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sd sd: increase SDMMC busy wait timeout 2022-05-09 08:46:29 -05:00
settings subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
stats subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
storage subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
task_wdt subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
testsuite subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
timing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
usb usb: dfu: Enable progressive erase for MCUX FlexSPI flash 2022-05-09 08:54:30 -05:00
CMakeLists.txt sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00
Kconfig sd: Add common SD initialization code 2022-04-29 14:21:36 -05:00