mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 09:35:40 +08:00
Better way to send to display that MMDVMHost is quitting
This commit is contained in:
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);
|
||||
|
||||
Reference in New Issue
Block a user