Kevin Kadooka / SSD1351

Dependencies:   BurstSPI

Files at this revision

API Documentation at this revision

Comitter:
kkado
Date:
Sat Jul 15 04:41:23 2017 +0000
Parent:
3:7dd40c4c2ef3
Commit message:
Fixed length of vlines (one too short)

Changed in this revision

SSD1351.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7dd40c4c2ef3 -r d65b0a5d58f0 SSD1351.cpp
--- a/SSD1351.cpp	Mon Jul 03 08:24:52 2017 +0000
+++ b/SSD1351.cpp	Sat Jul 15 04:41:23 2017 +0000
@@ -305,7 +305,7 @@
         ys = y-127;
     }
     if(y+length < 0){
-        ye = -(y+length);
+        ye = -(y+length+1);
     }
     else if(y+length > 127){
         ye = y+length-127;