mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
First go at System Fusion networking.
This commit is contained in:
parent
1d5ed691c4
commit
9ed2c00b0c
25 changed files with 571 additions and 171 deletions
|
|
@ -181,19 +181,20 @@ void CNextion::clearDMRInt(unsigned int slotNo)
|
|||
}
|
||||
}
|
||||
|
||||
void CNextion::writeFusionInt(const char* source, const char* dest)
|
||||
void CNextion::writeFusionInt(const char* source, const char* dest, const char* type)
|
||||
{
|
||||
assert(source != NULL);
|
||||
assert(dest != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_YSF)
|
||||
sendCommand("page YSF");
|
||||
|
||||
char text[30U];
|
||||
::sprintf(text, "t0.txt=\"%.10s\"", source);
|
||||
::sprintf(text, "t0.txt=\"%s %.10s\"", type, source);
|
||||
sendCommand(text);
|
||||
|
||||
::sprintf(text, "t1.txt=\"%.10s\"", dest);
|
||||
::sprintf(text, "t1.txt=\" %.10s\"", dest);
|
||||
sendCommand(text);
|
||||
|
||||
m_mode = MODE_YSF;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue