Skip to content

Commit 4ca1d73

Browse files
committed
fix style
1 parent f596d91 commit 4ca1d73

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

socketcan/libcanard/.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BraceWrapping:
3131
AfterFunction: true
3232
AfterUnion: true
3333
AfterNamespace: true
34-
AfterExternBlock: true
34+
AfterExternBlock: false
3535
BeforeElse: true
3636

3737
BreakBeforeTernaryOperators: true

stm32/libcanard/.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ BraceWrapping:
3131
AfterFunction: true
3232
AfterUnion: true
3333
AfterNamespace: true
34-
AfterExternBlock: true
34+
AfterExternBlock: false
3535
BeforeElse: true
3636

3737
BreakBeforeTernaryOperators: true

stm32/libcanard/bxcan/src/bxcan.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ static bool waitMSRINAKBitStateChange(volatile const BxCANType* const bxcan_base
104104
// The counter variable is declared volatile to prevent the compiler from optimizing it away.
105105
volatile size_t nticks = BXCAN_BUSYWAIT_DELAY_SYSTEM_CORE_CLOCK / 7000U;
106106
while (--nticks)
107-
{}
107+
{
108+
}
108109
}
109110

110111
return out_status;

0 commit comments

Comments
 (0)