mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Fix function brace style
This commit is contained in:
parent
6a06f0e408
commit
9957ceb275
83 changed files with 494 additions and 251 deletions
|
@ -410,7 +410,8 @@ void processRcStickPositions()
|
|||
#endif
|
||||
}
|
||||
|
||||
int32_t getRcStickDeflection(int32_t axis, uint16_t midrc) {
|
||||
int32_t getRcStickDeflection(int32_t axis, uint16_t midrc)
|
||||
{
|
||||
return MIN(ABS(rcData[axis] - midrc), 500);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue