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) {
826
826
}
827
827
828
828
void OLEDDisplay::drawLogBuffer (uint16_t xMove, uint16_t yMove) {
829
+ #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
829
830
Serial.println (" [deprecated] Print functionality now handles buffer management automatically. This is a no-op." );
831
+ #endif
830
832
}
831
833
832
834
void OLEDDisplay::drawLogBuffer () {
@@ -879,7 +881,9 @@ void OLEDDisplay::cls() {
879
881
}
880
882
881
883
bool OLEDDisplay::setLogBuffer (uint16_t lines, uint16_t chars) {
884
+ #if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SERIAL)
882
885
Serial.println (" [deprecated] Print functionality now handles buffer management automatically. This is a no-op." );
886
+ #endif
883
887
return true ;
884
888
}
885
889
You can’t perform that action at this time.
0 commit comments