From e47a6ba988be0cdcd2d85b3cc9e2f27c210af6c8 Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Mon, 12 Jun 2023 11:30:22 -0400 Subject: [PATCH] cleanup --- shared/nfc.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared/nfc.py b/shared/nfc.py index a3306438..5d06037e 100644 --- a/shared/nfc.py +++ b/shared/nfc.py @@ -322,13 +322,12 @@ class NFCHandler: while 1: phase = (phase + 1) % 4 + dis.clear() if dis.has_lcd: - dis.clear() dis.text(None, 4, 'NFC animation fr#%d' % phase) else: - dis.clear() dis.icon(0, 8, frames[phase]) - dis.show() + dis.show() await sleep_ms(250) if self.last_edge: