diff --git a/radio/src/helpers.h b/radio/src/opentx_helpers.h similarity index 92% rename from radio/src/helpers.h rename to radio/src/opentx_helpers.h index baef4cdce..8ddeba85e 100644 --- a/radio/src/helpers.h +++ b/radio/src/opentx_helpers.h @@ -18,8 +18,8 @@ * GNU General Public License for more details. */ -#ifndef _HELPERS_H_ -#define _HELPERS_H_ +#ifndef _OPENTX_HELPERS_H_ +#define _OPENTX_HELPERS_H_ template inline t min(t a, t b) { return a inline t max(t a, t b) { return a>b?a:b; } @@ -27,4 +27,4 @@ template inline t sgn(t a) { return a>0 ? 1 : (a < 0 ? -1 : 0); } template inline t limit(t mi, t x, t ma) { return min(max(mi,x),ma); } template inline void SWAP(t & a, t & b) { t tmp = b; b = a; a = tmp; } -#endif // _HELPERS_H_ +#endif // _OPENTX_HELPERS_H_ diff --git a/radio/src/pulses/modules_helpers.h b/radio/src/pulses/modules_helpers.h index 15df24165..7f8dc1833 100644 --- a/radio/src/pulses/modules_helpers.h +++ b/radio/src/pulses/modules_helpers.h @@ -23,7 +23,7 @@ #include "bitfield.h" #include "definitions.h" -#include "helpers.h" +#include "opentx_helpers.h" #include "telemetry/telemetry.h" #if defined(MULTIMODULE) #include "telemetry/multi.h"