mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 18:01:06 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user