Cleaned up for RGB/BGR selection
[hackover2013-badge-firmware.git] / drivers / lcd / bitmap / sharpmem / sharpmem.c
index dd829e2..545e643 100644 (file)
@@ -328,7 +328,7 @@ void sharpmemRefresh(void)
     {
       // Send end of line and address bytes
       sharpmemSendByte(0x00);
-      if (currentline < SHARPMEM_LCDHEIGHT)
+      if (currentline <= SHARPMEM_LCDHEIGHT)
       {
         sharpmemSendByte(sharpmemSwap(currentline));
       }
This page took 0.026883 seconds and 4 git commands to generate.