Code cleanup

This commit is contained in:
Ace 2019-12-16 02:48:23 +01:00 committed by GitHub
parent b6c8a0e7d8
commit 3cdd0bda62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,11 +89,10 @@ while True:
except:
pass
image.save(image_path + 'canvas.png')
display.reduce_colours(image)
image.save(image_path + 'canvas.png')
"""---------Refreshing E-Paper with newly created image-----------"""
display.show_image(image)
display.show_image(image, reduce_colours=False)
"""--------------Post processing after main loop-----------------"""
"""Collect some garbage to free up some resources"""