Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -51,17 +51,17 @@ typedef MxU8 MxBool;
// Must be union with struct for match.
typedef union {
struct {
MxU8 bit0: 1;
MxU8 bit1: 1;
MxU8 bit2: 1;
MxU8 bit3: 1;
MxU8 bit4: 1;
MxU8 bit5: 1;
MxU8 bit6: 1;
MxU8 bit7: 1;
};
// BYTE all; // ?
struct {
MxU8 bit0 : 1;
MxU8 bit1 : 1;
MxU8 bit2 : 1;
MxU8 bit3 : 1;
MxU8 bit4 : 1;
MxU8 bit5 : 1;
MxU8 bit6 : 1;
MxU8 bit7 : 1;
};
// BYTE all; // ?
} flag_bitfield;
#endif // MXTYPE_H