Fixed compile error

Dependents:   IBMIoTClientEthernetExample IBMIoTClientWifiExample

Fork of C12832 by Components

Files at this revision

API Documentation at this revision

Comitter:
MACRUM
Date:
Fri Mar 20 16:03:15 2015 +0000
Parent:
19:83823e92a9c8
Commit message:
Fixed enum name (again).

Changed in this revision

C12832.cpp Show annotated file Show diff for this revision Revisions of this file
C12832.h Show annotated file Show diff for this revision Revisions of this file
diff -r 83823e92a9c8 -r 13c4dce54241 C12832.cpp
--- 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
diff -r 83823e92a9c8 -r 13c4dce54241 C12832.h
--- a/C12832.h	Thu Mar 19 14:27:17 2015 +0000
+++ b/C12832.h	Fri Mar 20 16:03:15 2015 +0000
@@ -41,7 +41,7 @@
  * NORMAL
  * XOR set pixel by xor the screen
  */
-enum {_NORMAL,_XOR};
+enum {C12832_NORMAL,C12832_XOR};
 
 /**
  * Bitmap