Warnings removed

This commit is contained in:
Bertrand Songis
2016-03-05 08:53:16 +01:00
parent ad33bff31c
commit 15912854e8
2 changed files with 3 additions and 6 deletions
-3
View File
@@ -56,14 +56,11 @@ void drawTrims(uint8_t flightMode)
int32_t trim = getTrimValue(flightMode, i);
int32_t val = trim * TRIM_LEN / 125;
bool exttrim = false;
if (val < -(TRIM_LEN+1)) {
val = -(TRIM_LEN+1);
exttrim = true;
}
else if (val > (TRIM_LEN+1)) {
val = TRIM_LEN+1;
exttrim = true;
}
if (vert[i]) {