From 4ef60ec9970e6d7a0f988f00e3c18a99f4f2e1c9 Mon Sep 17 00:00:00 2001 From: Peter Siegmund Date: Fri, 31 May 2024 11:04:44 +0200 Subject: [PATCH] new endless loop Signed-off-by: Peter Siegmund --- ePaper-ESP-IDF/main/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ePaper-ESP-IDF/main/main.cpp b/ePaper-ESP-IDF/main/main.cpp index 627cffe..3e631ed 100644 --- a/ePaper-ESP-IDF/main/main.cpp +++ b/ePaper-ESP-IDF/main/main.cpp @@ -16,8 +16,8 @@ void setup(void) { if (!framebuffer) { printf("alloc memory failed !!!"); - while (1) - ; + while (1) { + } } memset(framebuffer, 0xFF, EPD_WIDTH * EPD_HEIGHT / 2);