diff options
Diffstat (limited to 'main/InovaLedDisplay.cpp')
| -rw-r--r-- | main/InovaLedDisplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/InovaLedDisplay.cpp b/main/InovaLedDisplay.cpp index cc62708..1cf085f 100644 --- a/main/InovaLedDisplay.cpp +++ b/main/InovaLedDisplay.cpp @@ -103,7 +103,7 @@ void InovaLedDisplay::runDisplay(void) { vTaskDelayUntil(&xLastWakeTime, xFrequency); memset(&t, 0, sizeof(t)); - t.length = _width; + t.length = _width * 8; // in bits t.tx_buffer = &displayBuffer[1 - backBufferIndex][current_row]; t.flags = SPI_TRANS_MODE_OCT; // output on eight data lines (six utilized). Even bits go to GREEN, odd to RED ret = spi_device_polling_transmit(spi, &t); |
