mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Restore the branch
This commit is contained in:
parent
135fd04e0d
commit
d77e2a00ce
126 changed files with 12881 additions and 8106 deletions
|
|
@ -77,6 +77,7 @@ enum LcdColour {
|
|||
#define STR_DSTAR "D-STAR"
|
||||
#define STR_MMDVM "MMDVM"
|
||||
#define STR_NXDN "NXDN"
|
||||
#define STR_M17 "M17"
|
||||
#define STR_P25 "P25"
|
||||
#define STR_YSF "SystemFusion"
|
||||
|
||||
|
|
@ -358,6 +359,29 @@ void CTFTSurenoo::clearNXDNInt()
|
|||
clearDStarInt();
|
||||
}
|
||||
|
||||
void CTFTSurenoo::writeM17Int(const char* source, const char* dest, const char* type)
|
||||
{
|
||||
assert(source != NULL);
|
||||
assert(dest != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_M17)
|
||||
setModeLine(STR_M17);
|
||||
|
||||
::snprintf(m_temp, sizeof(m_temp), "%s %s", type, source);
|
||||
setStatusLine(statusLineNo(0), m_temp);
|
||||
|
||||
::snprintf(m_temp, sizeof(m_temp), "%s", dest);
|
||||
setStatusLine(statusLineNo(1), m_temp);
|
||||
|
||||
m_mode = MODE_M17;
|
||||
}
|
||||
|
||||
void CTFTSurenoo::clearM17Int()
|
||||
{
|
||||
clearDStarInt();
|
||||
}
|
||||
|
||||
void CTFTSurenoo::writePOCSAGInt(uint32_t ric, const std::string& message)
|
||||
{
|
||||
setStatusLine(statusLineNo(1), "POCSAG TX");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue