mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -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:
@@ -6,7 +6,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SLIX_BLOCK_SIZE (4U)
|
||||
#define SLIX_BLOCK_SIZE (4U)
|
||||
#define SLIX_SIGNATURE_SIZE (32U)
|
||||
|
||||
#define SLIX_COUNTER_BLOCK_NUM (79U)
|
||||
@@ -16,27 +16,27 @@ extern "C" {
|
||||
#define SLIX_PP_CONDITION_RH (1U << 4)
|
||||
#define SLIX_PP_CONDITION_WH (1U << 5)
|
||||
|
||||
#define SLIX_FEATURE_FLAG_UM_PP (1UL << 0)
|
||||
#define SLIX_FEATURE_FLAG_COUNTER (1UL << 1)
|
||||
#define SLIX_FEATURE_FLAG_EAS_ID (1UL << 2)
|
||||
#define SLIX_FEATURE_FLAG_EAS_PP (1UL << 3)
|
||||
#define SLIX_FEATURE_FLAG_AFI_PP (1UL << 4)
|
||||
#define SLIX_FEATURE_FLAG_UM_PP (1UL << 0)
|
||||
#define SLIX_FEATURE_FLAG_COUNTER (1UL << 1)
|
||||
#define SLIX_FEATURE_FLAG_EAS_ID (1UL << 2)
|
||||
#define SLIX_FEATURE_FLAG_EAS_PP (1UL << 3)
|
||||
#define SLIX_FEATURE_FLAG_AFI_PP (1UL << 4)
|
||||
#define SLIX_FEATURE_FLAG_INVENTORY_READ_EXT (1UL << 5)
|
||||
#define SLIX_FEATURE_FLAG_EAS_IR (1UL << 6)
|
||||
#define SLIX_FEATURE_FLAG_ORIGINALITY_SIG (1UL << 8)
|
||||
#define SLIX_FEATURE_FLAG_EAS_IR (1UL << 6)
|
||||
#define SLIX_FEATURE_FLAG_ORIGINALITY_SIG (1UL << 8)
|
||||
#define SLIX_FEATURE_FLAG_ORIGINALITY_SIG_PP (1UL << 9)
|
||||
#define SLIX_FEATURE_FLAG_PERSISTENT_QUIET (1UL << 10)
|
||||
#define SLIX_FEATURE_FLAG_PRIVACY (1UL << 12)
|
||||
#define SLIX_FEATURE_FLAG_DESTROY (1UL << 13)
|
||||
#define SLIX_FEATURE_EXT (1UL << 31)
|
||||
#define SLIX_FEATURE_FLAG_PERSISTENT_QUIET (1UL << 10)
|
||||
#define SLIX_FEATURE_FLAG_PRIVACY (1UL << 12)
|
||||
#define SLIX_FEATURE_FLAG_DESTROY (1UL << 13)
|
||||
#define SLIX_FEATURE_EXT (1UL << 31)
|
||||
|
||||
#define SLIX_TYPE_FEATURE_READ (1U << 0)
|
||||
#define SLIX_TYPE_FEATURE_WRITE (1U << 1)
|
||||
#define SLIX_TYPE_FEATURE_PRIVACY (1U << 2)
|
||||
#define SLIX_TYPE_FEATURE_DESTROY (1U << 3)
|
||||
#define SLIX_TYPE_FEATURE_EAS (1U << 4)
|
||||
#define SLIX_TYPE_FEATURE_SIGNATURE (1U << 5)
|
||||
#define SLIX_TYPE_FEATURE_PROTECTION (1U << 6)
|
||||
#define SLIX_TYPE_FEATURE_READ (1U << 0)
|
||||
#define SLIX_TYPE_FEATURE_WRITE (1U << 1)
|
||||
#define SLIX_TYPE_FEATURE_PRIVACY (1U << 2)
|
||||
#define SLIX_TYPE_FEATURE_DESTROY (1U << 3)
|
||||
#define SLIX_TYPE_FEATURE_EAS (1U << 4)
|
||||
#define SLIX_TYPE_FEATURE_SIGNATURE (1U << 5)
|
||||
#define SLIX_TYPE_FEATURE_PROTECTION (1U << 6)
|
||||
#define SLIX_TYPE_FEATURE_NFC_SYSTEM_INFO (1U << 7)
|
||||
|
||||
typedef uint32_t SlixTypeFeatures;
|
||||
|
||||
Reference in New Issue
Block a user