mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Make space for dPMR.
This commit is contained in:
parent
994bff73ba
commit
9720c7a40d
52 changed files with 38 additions and 3684 deletions
47
Display.cpp
47
Display.cpp
|
|
@ -339,40 +339,6 @@ void CDisplay::clearNXDN()
|
|||
}
|
||||
}
|
||||
|
||||
void CDisplay::writeM17(const char* source, const char* dest, const char* type)
|
||||
{
|
||||
assert(source != nullptr);
|
||||
assert(dest != nullptr);
|
||||
assert(type != nullptr);
|
||||
|
||||
m_timer1.start();
|
||||
m_mode1 = MODE_IDLE;
|
||||
|
||||
writeM17Int(source, dest, type);
|
||||
}
|
||||
|
||||
void CDisplay::writeM17RSSI(unsigned char rssi)
|
||||
{
|
||||
if (rssi != 0U)
|
||||
writeM17RSSIInt(rssi);
|
||||
}
|
||||
|
||||
void CDisplay::writeM17BER(float ber)
|
||||
{
|
||||
writeM17BERInt(ber);
|
||||
}
|
||||
|
||||
void CDisplay::clearM17()
|
||||
{
|
||||
if (m_timer1.hasExpired()) {
|
||||
clearM17Int();
|
||||
m_timer1.stop();
|
||||
m_mode1 = MODE_IDLE;
|
||||
} else {
|
||||
m_mode1 = MODE_M17;
|
||||
}
|
||||
}
|
||||
|
||||
void CDisplay::writePOCSAG(uint32_t ric, const std::string& message)
|
||||
{
|
||||
m_timer1.start();
|
||||
|
|
@ -430,11 +396,6 @@ void CDisplay::clock(unsigned int ms)
|
|||
m_mode1 = MODE_IDLE;
|
||||
m_timer1.stop();
|
||||
break;
|
||||
case MODE_M17:
|
||||
clearM17Int();
|
||||
m_mode1 = MODE_IDLE;
|
||||
m_timer1.stop();
|
||||
break;
|
||||
case MODE_POCSAG:
|
||||
clearPOCSAGInt();
|
||||
m_mode1 = MODE_IDLE;
|
||||
|
|
@ -525,14 +486,6 @@ void CDisplay::writeNXDNBERInt(float ber)
|
|||
{
|
||||
}
|
||||
|
||||
void CDisplay::writeM17RSSIInt(unsigned char rssi)
|
||||
{
|
||||
}
|
||||
|
||||
void CDisplay::writeM17BERInt(float ber)
|
||||
{
|
||||
}
|
||||
|
||||
int CDisplay::writeNXDNIntEx(const class CUserDBentry& source, bool group, unsigned int dest, const char* type)
|
||||
{
|
||||
/* return value definition is same as writeDMRIntEx() */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue