mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 11:08:36 -07:00
Fix click offsets for fastpair and swiftpair --nobuild
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user