CommonPIC32

Changeset

142:336980f5c287
2018-11-14 Paul Boddie raw files shortlog changelog graph Fixed the line copying routine to actually copy the data!
lib/display.c (file)
     1.1 --- a/lib/display.c	Wed Nov 14 13:55:15 2018 +0100
     1.2 +++ b/lib/display.c	Wed Nov 14 18:06:23 2018 +0100
     1.3 @@ -220,7 +220,7 @@
     1.4  static void copy_data(uint8_t *dest, const uint8_t *src, int count)
     1.5  {
     1.6      while (count--)
     1.7 -        *dest = *src;
     1.8 +        *dest++ = *src++;
     1.9  }
    1.10  
    1.11  /* Scroll the display. */