mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Sort protocols
This commit is contained in:
5
applications/external/ble_spam/ble_spam.c
vendored
5
applications/external/ble_spam/ble_spam.c
vendored
@@ -33,7 +33,6 @@ static Attack attacks[] = {
|
||||
.cfg.continuity =
|
||||
{
|
||||
.type = ContinuityTypeCustomCrash,
|
||||
.data = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -47,7 +46,6 @@ static Attack attacks[] = {
|
||||
.cfg.continuity =
|
||||
{
|
||||
.type = ContinuityTypeNearbyAction,
|
||||
.data = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -61,7 +59,6 @@ static Attack attacks[] = {
|
||||
.cfg.continuity =
|
||||
{
|
||||
.type = ContinuityTypeProximityPair,
|
||||
.data = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -85,7 +82,6 @@ static Attack attacks[] = {
|
||||
.cfg.easysetup =
|
||||
{
|
||||
.type = EasysetupTypeBuds,
|
||||
.data = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -99,7 +95,6 @@ static Attack attacks[] = {
|
||||
.cfg.easysetup =
|
||||
{
|
||||
.type = EasysetupTypeWatch,
|
||||
.data = {},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
const Protocol* protocols[] = {
|
||||
&protocol_continuity,
|
||||
&protocol_fastpair,
|
||||
&protocol_easysetup,
|
||||
&protocol_fastpair,
|
||||
&protocol_swiftpair,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include "continuity.h"
|
||||
#include "fastpair.h"
|
||||
#include "easysetup.h"
|
||||
#include "fastpair.h"
|
||||
#include "swiftpair.h"
|
||||
|
||||
typedef enum {
|
||||
@@ -21,8 +21,8 @@ struct Payload {
|
||||
} bruteforce;
|
||||
union {
|
||||
ContinuityCfg continuity;
|
||||
FastpairCfg fastpair;
|
||||
EasysetupCfg easysetup;
|
||||
FastpairCfg fastpair;
|
||||
SwiftpairCfg swiftpair;
|
||||
} cfg;
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "continuity_scenes.h"
|
||||
#include "fastpair_scenes.h"
|
||||
#include "easysetup_scenes.h"
|
||||
#include "fastpair_scenes.h"
|
||||
#include "swiftpair_scenes.h"
|
||||
|
||||
Reference in New Issue
Block a user