write IP address to LCD

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

@ -1853,15 +1853,25 @@ 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");
delete m_pFTPDaemon; delete m_pFTPDaemon;
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)
{ {

Loading…
Cancel
Save