Skip to content

Commit

Permalink
terminal: remove broken include
Browse files Browse the repository at this point in the history
  • Loading branch information
vroland committed Sep 14, 2023
1 parent 0a136fa commit 38b0aba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion examples/terminal/main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions examples/terminal/main/st.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 38b0aba

Please sign in to comment.