mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 13:09:49 +04: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:
@@ -44,4 +44,4 @@ typedef struct {
|
||||
ProtocolRenderData render_data;
|
||||
ProtocolRenderData render_brief_data;
|
||||
ProtocolWriteData write_data;
|
||||
} ProtocolBase;
|
||||
} ProtocolBase;
|
||||
|
||||
@@ -245,4 +245,4 @@ bool protocol_dict_get_write_data(ProtocolDict* dict, size_t protocol_index, voi
|
||||
|
||||
furi_check(fn);
|
||||
return fn(dict->data[protocol_index], data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ typedef struct ProtocolDict ProtocolDict;
|
||||
|
||||
typedef int32_t ProtocolId;
|
||||
|
||||
#define PROTOCOL_NO (-1)
|
||||
#define PROTOCOL_NO (-1)
|
||||
#define PROTOCOL_ALL_FEATURES (0xFFFFFFFF)
|
||||
|
||||
ProtocolDict* protocol_dict_alloc(const ProtocolBase** protocols, size_t protocol_count);
|
||||
|
||||
Reference in New Issue
Block a user