| 171 | } |
| 172 | |
| 173 | void Display::Exit() noexcept |
| 174 | { |
| 175 | if (lcd != nullptr) |
| 176 | { |
| 177 | StopBeep(); |
| 178 | if (!updatingFirmware) |
| 179 | { |
| 180 | lcd->TextInvert(false); |
| 181 | lcd->ClearAll(); |
| 182 | lcd->SetFont(LargeFontNumber); |
| 183 | lcd->SetCursor(20, 0); |
| 184 | lcd->printf("Shutting down..."); |
| 185 | } |
| 186 | lcd->FlushAll(); |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | void Display::InitDisplay(GCodeBuffer& gb, Lcd *_ecv_from newLcd, Pin csPin, Pin a0Pin, bool defaultCsPolarity) THROWS(GCodeException) |
| 191 | { |
nothing calls this directly
no test coverage detected