diff options
| author | mrcodetastic <12006953+mrcodetastic@users.noreply.github.com> | 2024-07-19 07:27:54 +0100 |
|---|---|---|
| committer | mrcodetastic <12006953+mrcodetastic@users.noreply.github.com> | 2024-07-19 07:27:54 +0100 |
| commit | c55ea574587d0fb7d89e4916d83de6966ce4f45f (patch) | |
| tree | 50ff5d1afb6abdb0e3c7d624bd351092f4855c86 /src | |
| parent | 41cff62e42a88b5feb84730ed4cf72db7dc51291 (diff) | |
revert
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-HUB75-MatrixPanel-I2S-DMA.h | 2 | ||||
| -rw-r--r-- | src/platforms/esp32s3/gdma_lcd_parallel16.cpp | 22 |
2 files changed, 2 insertions, 22 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h index 8e113fa..939c421 100644 --- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h +++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h @@ -257,7 +257,7 @@ struct HUB75_I2S_CFG HZ_10M = 8000000, HZ_15M = 16000000, // for compatability HZ_16M = 16000000, - HZ_20M = 16000000 // for compatability + HZ_20M = 20000000 // for compatability }; // diff --git a/src/platforms/esp32s3/gdma_lcd_parallel16.cpp b/src/platforms/esp32s3/gdma_lcd_parallel16.cpp index 93969ed..f8c0667 100644 --- a/src/platforms/esp32s3/gdma_lcd_parallel16.cpp +++ b/src/platforms/esp32s3/gdma_lcd_parallel16.cpp @@ -58,16 +58,6 @@ return true; } - // LCD end of transaction interrupt - static void IRAM_ATTR lcd_isr(void* arg) { - - LCD_CAM.lc_dma_int_clr.lcd_trans_done_int_clr = 1; - - previousBufferFree = true; - - } - - lcd_cam_dev_t* getDev() { return &LCD_CAM; @@ -269,21 +259,11 @@ gdma_set_transfer_ability(dma_chan, &ability); // Enable DMA transfer callback - /* static gdma_tx_event_callbacks_t tx_cbs = { // .on_trans_eof is literally the only gdma tx event type available .on_trans_eof = gdma_on_trans_eof_callback }; gdma_register_tx_event_callbacks(dma_chan, &tx_cbs, NULL); - */ - - // - // Enable Transaction Done interrupt - LCD_CAM.lc_dma_int_ena.lcd_trans_done_int_ena = 1; - - // Allocate a level 1 intterupt: lowest priority, as ISR isn't urgent and may take a long time to complete - esp_intr_alloc(ETS_LCD_CAM_INTR_SOURCE, (int)(ESP_INTR_FLAG_IRAM | ESP_INTR_FLAG_LEVEL1), lcd_isr, NULL, NULL); - // This uses a busy loop to wait for each DMA transfer to complete... @@ -467,4 +447,4 @@ } // end flip -#endif +#endif
\ No newline at end of file |
