From 51051478af133c2faa4f257e5e0c49008f2d731f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 27 Feb 2019 13:31:31 -0500 Subject: [PATCH] st7920: Wrap code to 80 columns Signed-off-by: Kevin O'Connor --- klippy/extras/display/st7920.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/klippy/extras/display/st7920.py b/klippy/extras/display/st7920.py index bb0d8762..9cfcdb16 100644 --- a/klippy/extras/display/st7920.py +++ b/klippy/extras/display/st7920.py @@ -76,8 +76,8 @@ class ST7920: if new_data == old_data: continue # Find the position of all changed bytes in this framebuffer - diffs = [[i, 1] for i, (nd, od) in enumerate(zip(new_data, old_data)) - if nd != od] + diffs = [[i, 1] for i, (n, o) in enumerate(zip(new_data, old_data)) + if n != o] # Batch together changes that are close to each other for i in range(len(diffs)-2, -1, -1): pos, count = diffs[i]