mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Add -flocks only to clang
This commit is contained in:
parent
f564cdf952
commit
acedb4676d
2 changed files with 10 additions and 10 deletions
|
@ -61,8 +61,6 @@ TEST(AtomicUnittest, TestAtomicBlockNB)
|
|||
EXPECT_EQ(atomic_BASEPRI, 0); // restore priority to unlocked
|
||||
}
|
||||
|
||||
#if 1 // not working now ... (CLang needs -fblock + libraries / some unittests don't support gcc)
|
||||
|
||||
struct barrierTrace {
|
||||
int enter, leave;
|
||||
};
|
||||
|
@ -112,5 +110,3 @@ TEST(AtomicUnittest, TestAtomicBarrier)
|
|||
//return sIdx;
|
||||
EXPECT_EQ(sIdx, sampled);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue