From 0bec0f9114dcbf992bd4b0509b72369d0339bda1 Mon Sep 17 00:00:00 2001 From: txoof Date: Sat, 8 May 2021 19:41:18 +0200 Subject: [PATCH] remove unused 'color' arg from clear method --- RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py index c66cdae..c168c33 100644 --- a/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py +++ b/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd2in7.py @@ -501,7 +501,7 @@ class EPD: self.ReadBusy() # pass - def Clear(self, color): + def Clear(self): self.send_command(0x10) for i in range(0, int(self.width * self.height / 8)): self.send_data(0xFF)