From ea6820a0460d2bbbf15e0bcb1cc5403306c4ca2d Mon Sep 17 00:00:00 2001 From: "bernet.andre@gmail.com" Date: Tue, 5 Mar 2013 11:12:59 +0000 Subject: [PATCH] Wrong array size... was too late last night I guess :\ Of interest: That different way of displaying the custom screen items I introduced in r2033 for conveniency happens to save a whopping 92 bytes on stock!! I forgot about stock when doing it, and when I remembered I expected it would be the opposite and I'd get a slap... Might be worth looking if this could be replicated in other places! --- src/frsky.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frsky.cpp b/src/frsky.cpp index 9faeb9882..52aee0f99 100644 --- a/src/frsky.cpp +++ b/src/frsky.cpp @@ -1397,7 +1397,7 @@ void menuTelemetryFrsky(uint8_t event) putsTime(x, 1+FH+2*FH*i, value, att, att); } else { - uint8_t pos[NUM_LINE_ITEMS]; + xcoord_t pos[NUM_LINE_ITEMS+1]; #if !defined(PCBX9D) pos[0] = 0; pos[1] = 63; pos[2] = 128;// {0, 63, 128}; #else