1
0
Fork 0
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:
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

@ -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);
}