| 111 | } |
| 112 | |
| 113 | void OLEDDisplay::end() { |
| 114 | if (this->buffer) { free(this->buffer - BufferOffset); this->buffer = NULL; } |
| 115 | #ifdef OLEDDISPLAY_DOUBLE_BUFFER |
| 116 | if (this->buffer_back) { free(this->buffer_back - BufferOffset); this->buffer_back = NULL; } |
| 117 | #endif |
| 118 | if (this->logBuffer != NULL) { free(this->logBuffer); this->logBuffer = NULL; } |
| 119 | } |
| 120 | |
| 121 | void OLEDDisplay::resetDisplay(void) { |
| 122 | clear(); |
nothing calls this directly
no outgoing calls
no test coverage detected