perf: raise MeshPocket V2 display SPI clock to 8 MHz

This commit is contained in:
Quency-D committed 2026-11-16 14:08:31 +08:00
1 parent d6cd80e0e6
commit 62f6f7faef
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ void NV3001BDisplay::writeColor(uint16_t rgb, uint32_t count) {
digitalWrite(PIN_TFT_DC, HIGH);
digitalWrite(PIN_TFT_CS, LOW);
#ifdef NRF52_PLATFORM
// EasyDMA needs a RAM buffer. Send repeated pixels in bursts at 4 MHz.
// EasyDMA needs a RAM buffer. Send repeated pixels in bursts.
uint8_t pixels[64];
size_t bytes = sizeof(pixels);
if (count < bytes / 2) bytes = count * 2;