mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Better way to send to display that MMDVMHost is quitting
This commit is contained in:
parent
df2b27f585
commit
64e3ae6d30
16 changed files with 124 additions and 5 deletions
15
OLED.cpp
15
OLED.cpp
|
|
@ -283,6 +283,21 @@ void COLED::setLockoutInt()
|
|||
display.display();
|
||||
}
|
||||
|
||||
void COLED::setQuitInt()
|
||||
{
|
||||
m_mode = MODE_QUIT;
|
||||
|
||||
display.clearDisplay();
|
||||
OLED_statusbar();
|
||||
|
||||
display.setCursor(0,30);
|
||||
display.setTextSize(3);
|
||||
display.print("Stopped");
|
||||
|
||||
display.setTextSize(1);
|
||||
display.display();
|
||||
}
|
||||
|
||||
void COLED::writeDStarInt(const char* my1, const char* my2, const char* your, const char* type, const char* reflector)
|
||||
{
|
||||
m_mode = MODE_DSTAR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue