mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-06 15:04:18 +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
|
|
@ -259,10 +259,11 @@ void CTFTSerial::clearDMRInt(unsigned int slotNo)
|
|||
}
|
||||
}
|
||||
|
||||
void CTFTSerial::writeFusionInt(const char* source, const char* dest)
|
||||
void CTFTSerial::writeFusionInt(const char* source, const char* dest, const char* type)
|
||||
{
|
||||
assert(source != NULL);
|
||||
assert(dest != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_YSF) {
|
||||
// Clear the screen
|
||||
|
|
@ -275,12 +276,12 @@ void CTFTSerial::writeFusionInt(const char* source, const char* dest)
|
|||
}
|
||||
|
||||
char text[30U];
|
||||
::sprintf(text, "%.10s", source);
|
||||
::sprintf(text, "%s %.10s", type, source);
|
||||
|
||||
gotoPosPixel(5U, 80U);
|
||||
displayText(text);
|
||||
|
||||
::sprintf(text, "%.10s", dest);
|
||||
::sprintf(text, " %.10s", dest);
|
||||
|
||||
gotoPosPixel(5U, 100U);
|
||||
displayText(text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue