zapit:CFrontend::setInput return if satposition not found

This commit is contained in:
Jacek Jendrzej
2019-12-29 12:08:28 +01:00
parent 7dad606610
commit 6540b07311

View File

@@ -1664,6 +1664,9 @@ void CFrontend::setInput(t_satellite_position satellitePosition, uint32_t freque
{
sat_iterator_t sit = satellites.find(satellitePosition);
if (sit == satellites.end()){
return;
}
/* unicable uses diseqc parameter for input selection */
config.uni_lnb = sit->second.diseqc;