mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 21:28:26 +02:00
neutrino: fix lastMode when switching to mode_upnp
Origin commit data
------------------
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
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)
|
if(mode != mode_standby)
|
||||||
standbyMode( true );
|
standbyMode( true );
|
||||||
}
|
}
|
||||||
|
if((data & mode_mask)== mode_upnp) {
|
||||||
|
lastMode=mode;
|
||||||
|
mode=mode_upnp;
|
||||||
|
}
|
||||||
if((data & mode_mask)== mode_audio) {
|
if((data & mode_mask)== mode_audio) {
|
||||||
lastMode=mode;
|
lastMode=mode;
|
||||||
mode=mode_audio;
|
mode=mode_audio;
|
||||||
|
Reference in New Issue
Block a user