mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +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
11
Display.cpp
11
Display.cpp
|
|
@ -88,6 +88,17 @@ void CDisplay::setError(const char* text)
|
|||
setErrorInt(text);
|
||||
}
|
||||
|
||||
void CDisplay::setQuit()
|
||||
{
|
||||
m_timer1.stop();
|
||||
m_timer2.stop();
|
||||
|
||||
m_mode1 = MODE_QUIT;
|
||||
m_mode2 = MODE_QUIT;
|
||||
|
||||
setQuitInt();
|
||||
}
|
||||
|
||||
void CDisplay::writeDStar(const char* my1, const char* my2, const char* your, const char* type, const char* reflector)
|
||||
{
|
||||
assert(my1 != NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue