Forked para SNOCC

Dependencies:   GPS

Dependents:   SNOCC_V1 SNOCC_V2

Fork of RA8875 by SNOCC

Revision:
58:26658a56112a
Parent:
56:7a85d226ad0d
Child:
59:fb40aad4efd4
--- a/RA8875.cpp	Wed Apr 16 22:18:19 2014 +0000
+++ b/RA8875.cpp	Sat Jul 05 15:59:55 2014 +0000
@@ -49,10 +49,10 @@
 
 
 RA8875::RA8875(PinName mosi, PinName miso, PinName sclk, PinName csel, PinName reset, const char *name)
-    : spi(mosi, miso, sclk)
+    : GraphicsDisplay(name)
+    , spi(mosi, miso, sclk)
     , cs(csel)
     , res(reset)
-    , GraphicsDisplay(name)
 {
     font = NULL;                        // no external font, use internal.
     select(false);                      // deselect the display
@@ -1845,7 +1845,7 @@
                   "A - Auto Test mode    S - Speed Test\r\n"
                   "p - print screen      r - reset  \r\n"
                   "l - layer test        w - wrapping text \r\n"
-                  #ifdef DEBUG
+                  #ifdef PERF_METRICS
                   "0 - clear performance 1 - report performance\r\n"
                   #endif
                   "> ");
@@ -1858,7 +1858,7 @@
             q = modelist[automode];
         }
         switch(q) {
-            #ifdef DEBUG
+            #ifdef PERF_METRICS
             case '0':
                 lcd.ClearPerformance();
                 break;