MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / Exit

Method Exit

src/Display/Display.cpp:173–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void 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
190void Display::InitDisplay(GCodeBuffer& gb, Lcd *_ecv_from newLcd, Pin csPin, Pin a0Pin, bool defaultCsPolarity) THROWS(GCodeException)
191{

Callers

nothing calls this directly

Calls 5

TextInvertMethod · 0.80
SetFontMethod · 0.80
SetCursorMethod · 0.80
FlushAllMethod · 0.80
printfMethod · 0.45

Tested by

no test coverage detected