mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 13:48:35 -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) {
|
static uint8_t fastpair_config_count(const ProtocolCfg* _cfg) {
|
||||||
UNUSED(_cfg);
|
UNUSED(_cfg);
|
||||||
return ConfigCOUNT;
|
return ConfigCOUNT - ConfigExtraStart - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Protocol protocol_fastpair = {
|
const Protocol protocol_fastpair = {
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ static void swiftpair_extra_config(Ctx* ctx) {
|
|||||||
|
|
||||||
static uint8_t swiftpair_config_count(const ProtocolCfg* _cfg) {
|
static uint8_t swiftpair_config_count(const ProtocolCfg* _cfg) {
|
||||||
UNUSED(_cfg);
|
UNUSED(_cfg);
|
||||||
return ConfigCOUNT;
|
return ConfigCOUNT - ConfigExtraStart - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Protocol protocol_swiftpair = {
|
const Protocol protocol_swiftpair = {
|
||||||
|
|||||||
Reference in New Issue
Block a user