Remove warnings

This commit is contained in:
mrfaptastic 2023-11-27 01:29:26 +00:00
parent 12f22832d5
commit 41cb8d3ce1
2 changed files with 4 additions and 1 deletions

View file

@ -598,7 +598,8 @@ public:
dma_bus.flip_dma_output_buffer(back_buffer_id); 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]; fb = &frame_buffer[back_buffer_id];

View file

@ -50,11 +50,13 @@
#include <stdint.h> #include <stdint.h>
/*
#if (ESP_IDF_VERSION_MAJOR == 5) #if (ESP_IDF_VERSION_MAJOR == 5)
#include <esp_private/periph_ctrl.h> #include <esp_private/periph_ctrl.h>
#else #else
#include <driver/periph_ctrl.h> #include <driver/periph_ctrl.h>
#endif #endif
*/
#include <esp_private/gdma.h> #include <esp_private/gdma.h>
#include <esp_rom_gpio.h> #include <esp_rom_gpio.h>