From bd84f16b1a688027476f51872b6284c82aa658a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Degerf=C3=A4lt?= Date: Fri, 21 Jun 2019 19:11:48 +0200 Subject: [PATCH] Removed an unused function --- NuEVI/menu.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/NuEVI/menu.cpp b/NuEVI/menu.cpp index e3785a1..6537d44 100644 --- a/NuEVI/menu.cpp +++ b/NuEVI/menu.cpp @@ -844,19 +844,7 @@ static void drawAdjustBase(const char* title, bool all) { drawAdjCursor(WHITE); } -void drawAdjustScreen(const char* title, int threshold, int maxValue, uint16_t lowLimit, uint16_t highLimit){ - drawAdjustBase(title, maxValue >= 0); - - pos1 = map(threshold, lowLimit, highLimit, 27, 119); - display.drawLine(pos1,20,pos1,26,WHITE); - - if(maxValue >= 0) { - pos2 = map(maxValue, lowLimit, highLimit, 27, 119); - display.drawLine(pos2,50,pos2,56,WHITE); - } -} - -bool drawAdjustBar(uint16_t buttons, int row, const AdjustValue* entry, uint16_t *pos) { +static bool drawAdjustBar(uint16_t buttons, int row, const AdjustValue* entry, uint16_t *pos) { bool updated = false; uint16_t step = (entry->limitHigh-entry->limitLow)/92; int val = *entry->value;