Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Fix click offsets for fastpair and swiftpair --nobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Oct 22, 2023
1 parent 942ef2c commit eee662f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion applications/external/ble_spam/protocols/fastpair.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static void fastpair_extra_config(Ctx* ctx) {

static uint8_t fastpair_config_count(const ProtocolCfg* _cfg) {
UNUSED(_cfg);
return ConfigCOUNT;
return ConfigCOUNT - ConfigExtraStart - 1;
}

const Protocol protocol_fastpair = {
Expand Down
2 changes: 1 addition & 1 deletion applications/external/ble_spam/protocols/swiftpair.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static void swiftpair_extra_config(Ctx* ctx) {

static uint8_t swiftpair_config_count(const ProtocolCfg* _cfg) {
UNUSED(_cfg);
return ConfigCOUNT;
return ConfigCOUNT - ConfigExtraStart - 1;
}

const Protocol protocol_swiftpair = {
Expand Down

0 comments on commit eee662f

Please sign in to comment.