aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-11-27 01:29:26 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2023-11-27 01:29:26 +0000
commit41cb8d3ce1d0b37ca0b497594b2cdb6456734ad9 (patch)
tree738f3537b30aa1eb496bf6f1b78ab76920731db2 /src
parent12f22832d59545a93c4114ceff5b6eb82bd3ec36 (diff)
Remove warnings
Diffstat (limited to 'src')
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.h3
-rw-r--r--src/platforms/esp32s3/gdma_lcd_parallel16.hpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index 4a7f735..6fcca10 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -598,7 +598,8 @@ public:
dma_bus.flip_dma_output_buffer(back_buffer_id);
- back_buffer_id ^= 1;
+ //back_buffer_id ^= 1;
+ back_buffer_id = back_buffer_id^1;
fb = &frame_buffer[back_buffer_id];
diff --git a/src/platforms/esp32s3/gdma_lcd_parallel16.hpp b/src/platforms/esp32s3/gdma_lcd_parallel16.hpp
index 958b65c..9324c30 100644
--- a/src/platforms/esp32s3/gdma_lcd_parallel16.hpp
+++ b/src/platforms/esp32s3/gdma_lcd_parallel16.hpp
@@ -50,11 +50,13 @@
#include <stdint.h>
+/*
#if (ESP_IDF_VERSION_MAJOR == 5)
#include <esp_private/periph_ctrl.h>
#else
#include <driver/periph_ctrl.h>
#endif
+*/
#include <esp_private/gdma.h>
#include <esp_rom_gpio.h>