Skip to content

Commit

Permalink
zapit:CFrontend::setInput return if satposition not found
Browse files Browse the repository at this point in the history
  • Loading branch information
satbaby authored and vanhofen committed Dec 29, 2019
1 parent b428762 commit 8adee6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/zapit/src/frontend.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 8adee6f

Please sign in to comment.