revise UserDB display setting on OLED

To display UserDB on OLED, either Slot1=0/Slot2=1 or Slot1=1/Slot2=0
of [DMR Network] in MMDVM.ini was required.

Other displays such as LCDproc, HD44180 and TFTSurenoo uses duplex value of
[General], OLED also uses same entry from now.
This commit is contained in:
SASANO Takayoshi
2021-03-10 21:09:58 +09:00
parent 79fc7623dc
commit 51e74c6182
3 changed files with 8 additions and 8 deletions

4
OLED.h
View File

@@ -41,7 +41,7 @@
class COLED : public CDisplay
{
public:
COLED(unsigned char displayType, unsigned char displayBrighness, bool displayInvert, bool displayScroll, bool displayRotate, bool displayLogoScreensaver, bool slot1Enabled, bool slot2Enabled);
COLED(unsigned char displayType, unsigned char displayBrighness, bool displayInvert, bool displayScroll, bool displayRotate, bool displayLogoScreensaver, bool duplex);
virtual ~COLED();
virtual bool open();
@@ -88,7 +88,7 @@ private:
bool m_displayScroll;
bool m_displayRotate;
bool m_displayLogoScreensaver;
bool m_slot1Enabled;
bool m_duplex;
bool m_slot2Enabled;
std::string m_ipaddress;
ArduiPi_OLED m_display;