mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Add configurable scrolling to the OLED display.
This commit is contained in:
parent
8d9cfb0f46
commit
3749b8d9f4
6 changed files with 25 additions and 11 deletions
|
|
@ -1147,7 +1147,8 @@ void CMMDVMHost::createDisplay()
|
|||
unsigned char type = m_conf.getOLEDType();
|
||||
unsigned char brightness = m_conf.getOLEDBrightness();
|
||||
bool invert = m_conf.getOLEDInvert();
|
||||
m_display = new COLED(type, brightness, invert);
|
||||
bool scroll = m_conf.getOLEDScroll();
|
||||
m_display = new COLED(type, brightness, invert, scroll);
|
||||
#endif
|
||||
} else {
|
||||
m_display = new CNullDisplay;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue