From 424f2ae4f13b68a040ecc0cfee4377c80200cd78 Mon Sep 17 00:00:00 2001 From: Peter Hinch Date: Thu, 6 Jun 2019 11:01:12 +0100 Subject: [PATCH] ssd1351.py Fix bug in red mapping in _lcopy() function. --- drivers/ssd1351/ssd1351.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ssd1351/ssd1351.py b/drivers/ssd1351/ssd1351.py index e3f9fad..62a1342 100644 --- a/drivers/ssd1351/ssd1351.py +++ b/drivers/ssd1351/ssd1351.py @@ -61,7 +61,7 @@ def _lcopy(r0, r1, r2): # r0 dest, r1 source, r2 no. of bytes strb(r3, [r0, 0]) mov(r4, 0xe0) and_(r6, r4) - mov(r4, 2) + mov(r4, 3) lsr(r6, r4) strb(r6, [r0, 1]) add(r0, 2)