1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Fix function brace style

This commit is contained in:
Mathias Rasmussen 2021-12-29 21:51:43 +01:00 committed by KarateBrot
parent 6a06f0e408
commit 9957ceb275
83 changed files with 494 additions and 251 deletions

View file

@ -63,7 +63,8 @@ static int callCounts[CALL_COUNT_ITEM_COUNT];
#define CALL_COUNTER(item) (callCounts[item])
void resetCallCounters(void) {
void resetCallCounters(void)
{
memset(&callCounts, 0, sizeof(callCounts));
}
@ -739,15 +740,18 @@ throttleStatus_e calculateThrottleStatus()
void delay(uint32_t) {}
bool featureIsEnabled(uint32_t mask) {
bool featureIsEnabled(uint32_t mask)
{
return (mask & testFeatureMask);
}
void disarm(flightLogDisarmReason_e) {
void disarm(flightLogDisarmReason_e)
{
callCounts[COUNTER_MW_DISARM]++;
}
void beeper(beeperMode_e mode) {
void beeper(beeperMode_e mode)
{
UNUSED(mode);
}
@ -761,7 +765,8 @@ bool isUsingSticksForArming(void)
return isUsingSticksToArm;
}
bool areSticksActive(uint8_t stickPercentLimit) {
bool areSticksActive(uint8_t stickPercentLimit)
{
UNUSED(stickPercentLimit);
return false;
}