Compiles against mbed OS 5
Fork of Adafruit_GFX_1351 by
Diff: Adafruit_GFX.h
- Revision:
- 17:0a4bb1070fd5
- Parent:
- 14:edb3c36aa1a7
- Child:
- 20:a42316f33f7c
--- a/Adafruit_GFX.h Tue Nov 11 22:08:20 2014 +0000 +++ b/Adafruit_GFX.h Wed Apr 22 02:14:36 2015 +0000 @@ -171,7 +171,7 @@ inline uint8_t getRotation(void) { rotation %= 4; return rotation; }; protected: - int16_t _rawWidth, _rawHeight; // this is the 'raw' display w/h - never changes + const int16_t _rawWidth, _rawHeight; // this is the 'raw' display w/h - never changes int16_t _width, _height; // dependent on rotation int16_t cursor_x, cursor_y; uint16_t textcolor, textbgcolor;