zapit:CFrontend::setInput return if satposition not found

Origin commit data
------------------
Commit: 8adee6f281
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-12-29 (Sun, 29 Dec 2019)
This commit is contained in:
Jacek Jendrzej
2019-12-29 23:06:12 +01:00
committed by vanhofen
parent c8572fa3d8
commit 50ac3111b6

View File

@@ -1677,6 +1677,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;