mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-19 04:44:47 -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:
@@ -30,10 +30,10 @@ enum {
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
uint8_t present : 2;
|
||||
uint8_t present : 2;
|
||||
uint8_t discharging : 2;
|
||||
uint8_t charging : 2;
|
||||
uint8_t level : 2;
|
||||
uint8_t charging : 2;
|
||||
uint8_t level : 2;
|
||||
} BattrySvcPowerState;
|
||||
|
||||
_Static_assert(sizeof(BattrySvcPowerState) == 1, "Incorrect structure size");
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
* Serial service. Implements RPC over BLE, with flow control.
|
||||
*/
|
||||
|
||||
#define BLE_SVC_SERIAL_DATA_LEN_MAX (486)
|
||||
#define BLE_SVC_SERIAL_DATA_LEN_MAX (486)
|
||||
#define BLE_SVC_SERIAL_CHAR_VALUE_LEN_MAX (243)
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user