 
 inline void updateSpectrumDisplay()
 {
-	const auto start = millis();
-
 	assert(FHT_N == 256);
 	//for (int i = 1; i < 128; ++i) // What's the deal with bin 0?
 	//{

	}
}

void loop()
{
	if (samplingWindowFull)


		memcpy(previousFhtValues, fht_log_out, FHT_N / 2);
		runFHT();

		const auto start = millis();

		updateTextDisplay();
		updateSpectrumDisplay();
		updateVuDisplay();

		tft.setTextSize(2);
		tft.setTextColor(0x051F, 0x0000);
		tft.setCursor(0, 0);
		tft.print(paddedString(String(millis() - start), 4));

		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.
	}
}

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