diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:31:47 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:31:47 -0500 |
commit | ef1bf60ab7e81db9fc5b87f863e2caba93bcaccc (patch) | |
tree | 86d4241280175c34c77be5e64a907eacf518a7ab /klippy/extras/display | |
parent | 51051478af133c2faa4f257e5e0c49008f2d731f (diff) | |
download | kutter-ef1bf60ab7e81db9fc5b87f863e2caba93bcaccc.tar.gz kutter-ef1bf60ab7e81db9fc5b87f863e2caba93bcaccc.tar.xz kutter-ef1bf60ab7e81db9fc5b87f863e2caba93bcaccc.zip |
hd44780: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/display')
-rw-r--r-- | klippy/extras/display/hd44780.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/display/hd44780.py b/klippy/extras/display/hd44780.py index 20a58f40..7a56720b 100644 --- a/klippy/extras/display/hd44780.py +++ b/klippy/extras/display/hd44780.py @@ -59,8 +59,8 @@ class HD44780: 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] |