We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d1422 commit f21e4d5Copy full SHA for f21e4d5
src/include/Graphics.cpp
@@ -208,7 +208,7 @@ void Graphics::endWrite()
208
{
209
}
210
211
-#ifndef ARDUINO_INKPLATECOLOR
+#if !defined(ARDUINO_INKPLATECOLOR) && !defined(ARDUINO_INKPLATE2)
212
213
/**
214
* @brief setDisplayMode sets display mode
@@ -231,7 +231,6 @@ uint8_t Graphics::getDisplayMode()
231
232
return _displayMode;
233
234
-#endif
235
236
237
* @brief selectDisplayMode selects display mode and sets memory
@@ -251,6 +250,7 @@ void Graphics::selectDisplayMode(uint8_t _mode)
251
250
memset(DMemory4Bit, 255, 240000);
252
253
+#endif
254
255
256
* @brief width function returns screen width
0 commit comments