add compile guards

This commit is contained in:
Manuel
2025-10-19 22:21:05 +02:00
parent ca79ab0288
commit 32b84138f3
2 changed files with 8 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
#if defined(T5_S3_EPAPER_PRO)
/******************************************************************************/
/*** include files ***/
/******************************************************************************/
#if defined(LILYGO_T5_EPD47_S3)
#include "ed047tc1.h"
#include "i2s_data_bus.h"
#include "rmt_pulse.h"
@@ -258,7 +258,7 @@ uint8_t *IRAM_ATTR epd_get_current_buffer()
/*** local functions ***/
/******************************************************************************/
#endif
/******************************************************************************/
/*** END OF FILE ***/
/******************************************************************************/
/******************************************************************************/
#endif

View File

@@ -1,3 +1,5 @@
#if defined(T5_S3_EPAPER_PRO)
/******************************************************************************/
/*** include files ***/
/******************************************************************************/
@@ -886,4 +888,5 @@ static void IRAM_ATTR feed_display(OutputParams *params)
/******************************************************************************/
/*** END OF FILE ***/
/******************************************************************************/
/******************************************************************************/
#endif