Better way to send to display that MMDVMHost is quitting

This commit is contained in:
root
2018-08-15 18:17:42 +02:00
parent df2b27f585
commit 64e3ae6d30
16 changed files with 124 additions and 5 deletions

View File

@@ -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);