neutrino: fix lastMode when switching to mode_upnp

Origin commit data
------------------
Branch: ni/coolstream
Commit: 93413dad3e
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-28 (Thu, 28 Jan 2016)

Origin message was:
------------------
- neutrino: fix lastMode when switching to mode_upnp

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-01-28 09:42:51 +01:00
parent 4016b55332
commit 8f5c3bc7cd

View File

@@ -3255,6 +3255,10 @@ int CNeutrinoApp::handleMsg(const neutrino_msg_t _msg, neutrino_msg_data_t data)
if(mode != mode_standby)
standbyMode( true );
}
if((data & mode_mask)== mode_upnp) {
lastMode=mode;
mode=mode_upnp;
}
if((data & mode_mask)== mode_audio) {
lastMode=mode;
mode=mode_audio;