Commit Graph

5 Commits

Author SHA1 Message Date
Haxk20 daaaadc56d
anc: Fix enable/disable from slave bud
Switching ANC on or off from master bud has always worked
since we could just straight up enable it and no command had to be
sent.

When switching from slave bud we had to send the command to enable
or disable it via app_anc_key. Issue is the handling of this request
is from app_anc_cmd_receive_process which is not called without
APP_ANC being defined.

This commit cleans up the way ANC is enabled and also fixes slave
bud ANC switching by implementing the actual code path :)
2023-11-17 11:43:57 -06:00
Ben V. Brown 162614ee8a
Add logging to anc init 2023-11-17 11:42:00 -06:00
Ben V. Brown 75381150fd Formatting
Formatting Pass 1

Lots of fixups to adding stdint and stdbool all over the place

Formatting Pass 2
Formatting Pass 3
Formatting Pass 4

Update app_bt_stream.cpp
2023-02-02 07:56:49 +11:00
Ben V. Brown 503d630b07 upstream 2022-12-27 10:27:11 +11:00
dylancaowugang 235a402c8c add first commit 2022-08-15 17:20:27 +08:00