diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:31:31 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:31:31 -0500 |
commit | 51051478af133c2faa4f257e5e0c49008f2d731f (patch) | |
tree | 997dd1c64e0b0dee1ed03dfd470a48f393debbf1 | |
parent | d6d23c8415f171e56c111e897f6b38bda2586b48 (diff) | |
download | kutter-51051478af133c2faa4f257e5e0c49008f2d731f.tar.gz kutter-51051478af133c2faa4f257e5e0c49008f2d731f.tar.xz kutter-51051478af133c2faa4f257e5e0c49008f2d731f.zip |
st7920: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | klippy/extras/display/st7920.py | 4 |
1 files 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] |