File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ BasedOnStyle : Google
2+ CommentPragmas : ' (@copydoc)'
3+
4+ # Pointers
5+ DerivePointerAlignment : false
6+ PointerAlignment : Left
7+
8+ # Indents
9+ IndentWidth : 4
10+ TabWidth : 4
11+ UseTab : " Never"
12+ NamespaceIndentation : All
13+ IndentGotoLabels : true
14+
15+ # Alignments
16+ AlignConsecutiveAssignments :
17+ # The column at which the = starts is constant among a block of definitions.
18+ Enabled : true
19+ AcrossEmptyLines : false
20+ AcrossComments : true
21+ AlignCompound : true
22+ PadOperators : true
23+ AlignConsecutiveBitFields :
24+ Enabled : true
25+ AcrossEmptyLines : false
26+ AcrossComments : true
27+ AlignConsecutiveDeclarations :
28+ # The column at which the name starts is constant among a block of declarations / definitions.
29+ Enabled : true
30+ AcrossEmptyLines : false
31+ AcrossComments : true
32+ AlignConsecutiveMacros :
33+ Enabled : true
34+ AcrossEmptyLines : false
35+ AcrossComments : true
36+
37+ # Line breaks
38+ AlwaysBreakTemplateDeclarations : No
39+ AllowShortFunctionsOnASingleLine : None
40+ AllowShortEnumsOnASingleLine : false
41+ KeepEmptyLinesAtTheStartOfBlocks : true
42+ BreakBeforeBraces : Custom
43+ BraceWrapping :
44+ AfterClass : false
45+ AfterControlStatement : false
46+ AfterEnum : false
47+ AfterFunction : false
48+ AfterNamespace : false
49+ AfterStruct : false
50+ AfterUnion : false
51+ BeforeCatch : false
52+ BeforeElse : false
53+ ColumnLimit : 120
54+
55+ # Includes
56+ IncludeBlocks : Merge
Original file line number Diff line number Diff line change 1+ # General targets
2+
3+ .PHONY : all
4+ all : format
5+
6+ # Formatting
7+
8+ .PHONY : format
9+ format :
10+ find . -iname ' *.h' -o -iname ' *.c' -o -iname ' *.cpp' | xargs clang-format -i
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ typedef struct {
5555 bool crc_enabled ; // CRC enabled/disabled
5656 bool invert_iq ; // Invert IQ enabled/disabled
5757 bool low_data_rate_optimization ; // Low data rate optimization enabled/disabled
58- bool rx_boost ; // Boosted RX gain (+3 dB sensitivity, +~2 mA)
58+ bool rx_boost ; // Boosted RX gain (+3 dB sensitivity, +~2 mA)
5959} __attribute__((packed )) lora_protocol_config_params_t ;
6060
6161typedef struct {
You can’t perform that action at this time.
0 commit comments