1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 21:35:44 +03:00

Renamed min, max and abs macros to MIN MAX and ABS.

This commit is contained in:
Pierre Hugo 2015-01-23 22:40:00 -08:00
parent 616c40a827
commit be03ed95fa
15 changed files with 42 additions and 42 deletions

View file

@ -22,7 +22,7 @@
int32_t applyDeadband(int32_t value, int32_t deadband)
{
if (abs(value) < deadband) {
if (ABS(value) < deadband) {
value = 0;
} else if (value > 0) {
value -= deadband;