The P25 destination is an integer.

This commit is contained in:
Jonathan Naylor
2016-09-12 20:23:50 +01:00
parent e2ec5292b5
commit 7171af365d
12 changed files with 19 additions and 23 deletions

View File

@@ -210,7 +210,7 @@ void COLED::clearFusionInt()
display.display();
}
void COLED::writeP25Int(const char* source, bool group, const char* dest, const char* type)
void COLED::writeP25Int(const char* source, bool group, unsigned int dest, const char* type)
{
m_mode = MODE_P25;
display.fillRect(0, OLED_LINE1, display.width(), 10, BLACK);
@@ -218,7 +218,7 @@ void COLED::writeP25Int(const char* source, bool group, const char* dest, const
display.printf("%s %.10s", type, source);
display.fillRect(0, OLED_LINE2, display.width(), 10, BLACK);
display.setCursor(0,OLED_LINE2);
display.printf(" %s%.10s", group ? "TG" : "", dest);
display.printf(" %s%u", group ? "TG" : "", dest);
OLED_statusbar();
display.display();
}