Fix uDisplay compile error (#22266)

* only esp32
This commit is contained in:
Jason2866 2024-10-11 00:19:29 +02:00 committed by GitHub
parent d6a15aa5dc
commit f2c61c4496
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -600,8 +600,10 @@ uDisplay::uDisplay(char *lp) : Renderer(800, 600) {
lvgl_param.flushlines = next_val(&lp1);
lvgl_param.data = next_val(&lp1);
// temporary fix to disable DMA due to a problem in esp-idf 5.3
#ifdef ESP32
#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 3, 0)
lvgl_param.use_dma = false;
#endif
#endif
break;
case 'M':