use clear() method of lib.display

This commit is contained in:
Christoph Haas 2026-01-17 21:35:09 +01:00
parent 643e16f278
commit 383773a0fe

View file

@ -72,7 +72,7 @@ def stop():
stop_event.set() stop_event.set()
animation_thread.join() animation_thread.join()
# Clear the display # Clear the display
lib.display.matrix.matrix.Clear() lib.display.matrix.clear()
return jsonify({"status": "stopped"}) return jsonify({"status": "stopped"})
if __name__ == "__main__": if __name__ == "__main__":