Removed an unused function

This commit is contained in:
Mikael Degerfält 2019-06-21 19:11:48 +02:00
parent 4c4d0e8b5a
commit bd84f16b1a

View file

@ -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;