 	{
 		const int diff = (int)fht_log_out[i] / 2 - previousFhtValues[i] / 2;
 		if (diff > 0)
-			tft.drawFastVLine(i, tft.height() - fht_log_out[i] / 2, diff, RGB_to_565(255, 255, 200));
+			tft.drawFastVLine(i, ScreenHeight - fht_log_out[i] / 2, diff, RGB_to_565(255, 255, 200));
 		else if (diff < 0)
-			tft.drawFastVLine(i, tft.height() - previousFhtValues[i] / 2, -diff, RGB_to_565(0, 0, 0));
+			tft.drawFastVLine(i, ScreenHeight - previousFhtValues[i] / 2, -diff, RGB_to_565(0, 0, 0));
 	}
 
 
 	// Symbol heights depending on text size: 1 - 10(?), 2 - 15, 3 - 25
+
+	tft.setTextSize(2);
 
 	//tft.setTextColor(RGB_to_565(0, 200, 255));
 	//tft.setCursor(0, 0);
 	//tft.print(minSampleValue);
 
-	const auto rmsExtremums = findMinMax(rmsHistory);
-
 	tft.setTextColor(RGB_to_565(255, 0, 10), RGB_to_565(0, 0, 0));
 	tft.setCursor(45, 0);
 	tft.print(paddedString(String(maxSampleValue), 4));


#define RGB_to_565(R, G, B) static_cast<uint16_t>(((R & 0xF8) << 8) | ((G & 0xFC) << 3) | (B >> 3))

inline void updateScreen()
{
	const auto start = millis();



		memcpy(previousFhtValues, fht_log_out, FHT_N / 2);
		runFHT();
		updateTextDisplay();
		updateSpectrumDisplay();
		updateVuDisplay();
		samplingWindowFull = false; // Allow the new sample set to be collected - only after the delay. Else the sample set would be 60 ms stale by the time we get to process it.
	}
}
