ThingPulse OLED SSD1306

Dependents:   Turtle_RadioShuttle

Revision:
1:9270c15c6aea
Parent:
0:56dd5df33ab4
Child:
2:4ed55dfe5be7
--- a/OLEDDisplay.cpp	Wed Apr 10 14:15:31 2019 +0000
+++ b/OLEDDisplay.cpp	Sun Apr 14 18:00:54 2019 +0200
@@ -49,7 +49,9 @@
 	fontData = ArialMT_Plain_10;
 	fontTableLookupFunction = DefaultFontTableLookup;
 	buffer = NULL;
+#ifdef OLEDDISPLAY_DOUBLE_BUFFER
 	buffer_back = NULL;
+#endif
 }
 
 OLEDDisplay::~OLEDDisplay() {
@@ -964,4 +966,3 @@
 
 	return (uint8_t) 0; // otherwise: return zero, if character has to be ignored
 }
-