probonopd 2 weeks ago committed by GitHub
parent 10a2962cc6
commit 7a8ef53f83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/userinterface.cpp

@ -96,7 +96,7 @@ bool CUserInterface::Initialize (void)
{ {
m_pST7789Display->SetRotation (m_pConfig->GetST7789Rotation()); m_pST7789Display->SetRotation (m_pConfig->GetST7789Rotation());
bool bLargeFont = !(m_pConfig->GetST7789SmallFont()); bool bLargeFont = !(m_pConfig->GetST7789SmallFont());
m_pST7789 = new CST7789Device (m_pSPIMaster, m_pST7789Display, m_pConfig->GetLCDColumns (), m_pConfig->GetLCDRows (), bLargeFont, bLargeFont); m_pST7789 = new CST7789Device (m_pSPIMaster, m_pST7789Display, m_pConfig->GetLCDColumns (), m_pConfig->GetLCDRows (), Font8x16, bLargeFont, bLargeFont);
if (m_pST7789->Initialize()) if (m_pST7789->Initialize())
{ {
LOGDBG ("LCD: ST7789"); LOGDBG ("LCD: ST7789");
@ -455,4 +455,4 @@ void CUserInterface::UISetMIDIButtonChannel (unsigned uCh)
m_nMIDIButtonCh = CMIDIDevice::OmniMode; m_nMIDIButtonCh = CMIDIDevice::OmniMode;
LOGNOTE("MIDI Button channel set to: OMNI"); LOGNOTE("MIDI Button channel set to: OMNI");
} }
} }

Loading…
Cancel
Save