mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 08:45:48 +08:00
OLED Display - missing ref
forgot to include the hook to pass the slot enables down into the driver
This commit is contained in:
@@ -1389,7 +1389,7 @@ void CMMDVMHost::createDisplay()
|
|||||||
unsigned char brightness = m_conf.getOLEDBrightness();
|
unsigned char brightness = m_conf.getOLEDBrightness();
|
||||||
bool invert = m_conf.getOLEDInvert();
|
bool invert = m_conf.getOLEDInvert();
|
||||||
bool scroll = m_conf.getOLEDScroll();
|
bool scroll = m_conf.getOLEDScroll();
|
||||||
m_display = new COLED(type, brightness, invert, scroll);
|
m_display = new COLED(type, brightness, invert, scroll, m_conf.getDMRNetworkSlot1(), m_conf.getDMRNetworkSlot2());
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
m_display = new CNullDisplay;
|
m_display = new CNullDisplay;
|
||||||
|
|||||||
Reference in New Issue
Block a user