From 9de9bc81478e664cf24f291b9946f0d2109fff20 Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Fri, 2 Aug 2013 06:11:55 +0000 Subject: [PATCH] [all] Warning removed for gcc 4.8.1 --- src/opentx.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index a2754218b..932c621c8 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -431,9 +431,10 @@ void generalDefault() uint16_t evalChkSum() { - uint16_t sum=0; + uint16_t sum = 0; + const int16_t *calibValues = &g_eeGeneral.calibMid[0]; for (int i=0; i