From 38b0abac3eb835d93eeb59d5ac1f976b7390ee4f Mon Sep 17 00:00:00 2001 From: Valentin Roland Date: Thu, 14 Sep 2023 23:54:49 +0200 Subject: [PATCH] terminal: remove broken include --- examples/terminal/main/main.c | 1 - examples/terminal/main/st.c | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/terminal/main/main.c b/examples/terminal/main/main.c index 84d0e34f..d3d0a4bd 100644 --- a/examples/terminal/main/main.c +++ b/examples/terminal/main/main.c @@ -18,7 +18,6 @@ #include "freertos/task.h" #include "epdiy.h" -#include "soc/clk_tree_defs.h" #include "st.h" // choose the default demo board depending on the architecture diff --git a/examples/terminal/main/st.c b/examples/terminal/main/st.c index 96699b2b..a9b4b182 100644 --- a/examples/terminal/main/st.c +++ b/examples/terminal/main/st.c @@ -2767,8 +2767,7 @@ static void draw_mask(EpdRect area, uint8_t* mask, bool* dirtyness) { enum EpdDrawMode mode = MODE_PACKING_8PPB | MODE_EPDIY_MONOCHROME | PREVIOUSLY_WHITE; enum EpdDrawError err = epd_draw_base( - epd_full_screen(), mask, area, mode, - temperature, dirtyness, EPD_BUILTIN_WAVEFORM + epd_full_screen(), mask, area, mode, temperature, dirtyness, EPD_BUILTIN_WAVEFORM ); if (err != EPD_DRAW_SUCCESS) { die("EPD draw error: %X\n", err); @@ -2853,7 +2852,6 @@ void epd_render(void) { term.dirty[y] = 0; } - // wait for rendering completion for (int li = 0; li < drawn_lines; li++) { xSemaphoreTake(render_lines_done_smphr, portMAX_DELAY);