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
6
OLED.cpp
6
OLED.cpp
|
|
@ -187,15 +187,15 @@ void COLED::clearDMRInt(unsigned int slotNo)
|
|||
display.display();
|
||||
}
|
||||
|
||||
void COLED::writeFusionInt(const char* source, const char* dest)
|
||||
void COLED::writeFusionInt(const char* source, const char* dest, const char* type)
|
||||
{
|
||||
m_mode = MODE_YSF;
|
||||
display.fillRect(0, OLED_LINE1, display.width(), 10, BLACK);
|
||||
display.setCursor(0,OLED_LINE1);
|
||||
display.printf("%.10s", source);
|
||||
display.printf("%s %.10s", type, source);
|
||||
display.fillRect(0, OLED_LINE2, display.width(), 10, BLACK);
|
||||
display.setCursor(0,OLED_LINE2);
|
||||
display.printf("%.10s", dest);
|
||||
display.printf(" %.10s", dest);
|
||||
OLED_statusbar();
|
||||
display.display();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue