mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix DMR status display for duplex mode
Previous change (simplyfy DMR status display) did not consider DMR duplex mode. Now DMR simplex mode uses 2-lines style, duplex mode 4-lines like this. Listening TS1 N Callsign TS2 TGxx For this change, statusLine() no longer have meaning. It will be removed in the future.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
class CTFTSurenoo : public CDisplay
|
||||
{
|
||||
public:
|
||||
CTFTSurenoo(const std::string& callsign, unsigned int dmrid, ISerialPort* serial, unsigned int brightness);
|
||||
CTFTSurenoo(const std::string& callsign, unsigned int dmrid, ISerialPort* serial, unsigned int brightness, bool duplex);
|
||||
virtual ~CTFTSurenoo();
|
||||
|
||||
virtual bool open();
|
||||
@@ -71,6 +71,7 @@ private:
|
||||
ISerialPort* m_serial;
|
||||
unsigned int m_brightness;
|
||||
unsigned char m_mode;
|
||||
bool m_duplex;
|
||||
bool m_refresh;
|
||||
CTimer m_refreshTimer;
|
||||
char* m_lineBuf;
|
||||
|
||||
Reference in New Issue
Block a user