Fixed compile error

Dependents:   IBMIoTClientEthernetExample IBMIoTClientWifiExample

Fork of C12832 by Components

Revision:
20:13c4dce54241
Parent:
18:03069e3deaa4
--- a/C12832.cpp	Thu Mar 19 14:27:17 2015 +0000
+++ b/C12832.cpp	Fri Mar 20 16:03:15 2015 +0000
@@ -32,7 +32,7 @@
     : GraphicsDisplay(name),_spi(mosi,NC,sck),_reset(reset),_A0(a0),_CS(ncs)
 {
     orientation = 1;
-    draw_mode = NORMAL;
+    draw_mode = C12832_NORMAL;
     char_x = 0;
     lcd_reset();
 }
@@ -142,7 +142,7 @@
     // first check parameter
     if(x > 128 || y > 32 || x < 0 || y < 0) return;
 
-    if(draw_mode == NORMAL) {
+    if(draw_mode == C12832_NORMAL) {
         if(color == 0)
             buffer[x + ((y/8) * 128)] &= ~(1 << (y%8));  // erase pixel
         else