From e37bdcc9bfd81c36cf1d6209b357215e1bda22bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Tue, 14 Jan 2025 22:02:57 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20clean.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/clean.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/clean.py b/bin/clean.py index 1858bb7..d478d68 100644 --- a/bin/clean.py +++ b/bin/clean.py @@ -39,6 +39,8 @@ def clear_screen(): # 将屏幕置于睡眠模式 logging.info("Putting e-Paper display to sleep") epd.sleep() +epd2in13_V4.epdconfig.module_exit(cleanup=True) + exit() logging.info("e-Paper display cleared successfully")