mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
[FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -14,16 +14,16 @@
|
||||
#define TAG "SubGhzProtocoSecPlusV1"
|
||||
|
||||
#define SECPLUS_V1_BIT_ERR -1 //0b0000
|
||||
#define SECPLUS_V1_BIT_0 0 //0b0001
|
||||
#define SECPLUS_V1_BIT_1 1 //0b0011
|
||||
#define SECPLUS_V1_BIT_2 2 //0b0111
|
||||
#define SECPLUS_V1_BIT_0 0 //0b0001
|
||||
#define SECPLUS_V1_BIT_1 1 //0b0011
|
||||
#define SECPLUS_V1_BIT_2 2 //0b0111
|
||||
|
||||
#define SECPLUS_V1_PACKET_1_HEADER 0x00
|
||||
#define SECPLUS_V1_PACKET_2_HEADER 0x02
|
||||
#define SECPLUS_V1_PACKET_1_HEADER 0x00
|
||||
#define SECPLUS_V1_PACKET_2_HEADER 0x02
|
||||
#define SECPLUS_V1_PACKET_1_INDEX_BASE 0
|
||||
#define SECPLUS_V1_PACKET_2_INDEX_BASE 21
|
||||
#define SECPLUS_V1_PACKET_1_ACCEPTED (1 << 0)
|
||||
#define SECPLUS_V1_PACKET_2_ACCEPTED (1 << 1)
|
||||
#define SECPLUS_V1_PACKET_1_ACCEPTED (1 << 0)
|
||||
#define SECPLUS_V1_PACKET_2_ACCEPTED (1 << 1)
|
||||
|
||||
static const SubGhzBlockConst subghz_protocol_secplus_v1_const = {
|
||||
.te_short = 500,
|
||||
|
||||
Reference in New Issue
Block a user