remove unneeded color value in Clear method removed in PR #161

This commit is contained in:
txoof 2021-05-08 19:49:32 +02:00
commit 89b3275fcf

View file

@ -23,7 +23,7 @@ try:
'''2Gray(Black and white) display'''
logging.info("init and Clear")
epd.init()
epd.Clear(0xFF)
epd.Clear()
font24 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 24)
font18 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 18)
font35 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 35)
@ -100,7 +100,7 @@ try:
time.sleep(2)
logging.info("Clear...")
epd.Clear(0xFF)
epd.Clear()
logging.info("Goto Sleep...")
epd.sleep()