write IP address to LCD

pull/744/head
Ömer Şiar Baysal 2 months ago
parent 2ad3301129
commit 8d5eef90b4
  1. 10
      src/minidexed.cpp

@ -1853,7 +1853,9 @@ void CMiniDexed::UpdateNetwork()
{ {
LOGNOTE ("RTP MIDI interface enabled"); LOGNOTE ("RTP MIDI interface enabled");
} }
m_pFTPDaemon = new CFTPDaemon(FTPUSERNAME, FTPPASSWORD); m_pFTPDaemon = new CFTPDaemon(FTPUSERNAME, FTPPASSWORD);
if (!m_pFTPDaemon->Initialize()) if (!m_pFTPDaemon->Initialize())
{ {
LOGERR("Failed to init FTP daemon"); LOGERR("Failed to init FTP daemon");
@ -1861,8 +1863,16 @@ void CMiniDexed::UpdateNetwork()
m_pFTPDaemon = nullptr; m_pFTPDaemon = nullptr;
} }
else else
{
LOGNOTE("FTP daemon initialized"); LOGNOTE("FTP daemon initialized");
} }
m_UI.DisplayWrite ("IP",
"Network",
IPString,
0,
1);
}
else if (m_bNetworkReady && !bNetIsRunning) else if (m_bNetworkReady && !bNetIsRunning)
{ {
m_bNetworkReady = false; m_bNetworkReady = false;

Loading…
Cancel
Save