From 1f41076b0e8431f0e4415d232038370812c6aa55 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 28 Aug 2019 18:17:32 +0200 Subject: [PATCH] File renamed --- radio/src/{helpers.h => opentx_helpers.h} | 6 +++--- radio/src/pulses/modules_helpers.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename radio/src/{helpers.h => opentx_helpers.h} (92%) 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"