Commit graph

5 commits

Author SHA1 Message Date
Haxk20
851fb95dcb 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 :)
2024-02-07 12:04:14 +11:00
Ben V. Brown
b63b1b3a39 Add logging to anc init 2024-02-07 12:03:38 +11: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