From 4c6cd51c26d3929a7f8e21a087808ebcb030fb9b Mon Sep 17 00:00:00 2001 From: bsongis Date: Mon, 30 Jan 2012 18:43:08 +0000 Subject: [PATCH] Flash saved --- src/model_menus.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/model_menus.cpp b/src/model_menus.cpp index 80c56743e..cecb7215c 100644 --- a/src/model_menus.cpp +++ b/src/model_menus.cpp @@ -1120,11 +1120,8 @@ void menuProcExpoOne(uint8_t event) DrawCurve(expoFn); - int16_t x512 = calibratedStick[ed->chn]; - int16_t anas[NUM_STICKS] = {0}; - anas[ed->chn] = x512; - applyExpos(anas); - int16_t y512 = anas[ed->chn]; + int16_t x512 = calibratedStick[ed->chn]; + int16_t y512 = expoFn(x512); lcd_outdezAtt(20*FW, 6*FH, x512*25/256, 0); lcd_outdezAtt(14*FW, 1*FH, y512*25/256, 0);