File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -826,7 +826,9 @@ void OLEDDisplay::clear(void) {
826826}
827827
828828void OLEDDisplay::drawLogBuffer (uint16_t xMove, uint16_t yMove) {
829+ #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
829830 Serial.println (" [deprecated] Print functionality now handles buffer management automatically. This is a no-op." );
831+ #endif
830832}
831833
832834void OLEDDisplay::drawLogBuffer () {
@@ -879,7 +881,9 @@ void OLEDDisplay::cls() {
879881}
880882
881883bool OLEDDisplay::setLogBuffer (uint16_t lines, uint16_t chars) {
884+ #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
882885 Serial.println (" [deprecated] Print functionality now handles buffer management automatically. This is a no-op." );
886+ #endif
883887 return true ;
884888}
885889
You can’t perform that action at this time.
0 commit comments