Skip to content

Commit

Permalink
JESS: Cosmetic: add spaces around operators in #3.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriksl committed Aug 5, 2016
1 parent 7e922d3 commit 88436a4
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 100 deletions.
7 changes: 3 additions & 4 deletions lib/dvb/sec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,16 +319,15 @@ RESULT eDVBSatelliteEquipmentControl::prepareOffsetForUnicable(iDVBFrontend &fro
int offset = roundMulti(lnb_param.SatCRvco + ifreq, 4000);
tunerfreq = heterodyne(frontend, ifreq, offset);
tuningword = ((offset - 1400000)/4000)
|(((lnb_param.LNBNum+1) & 1) << 12)
|((band & 3) <<10)
|((lnb_param.SatCR_idx & 7) << 13);
| (((lnb_param.LNBNum+1) & 1) << 12)
| ((band & 3) <<10)
| ((lnb_param.SatCR_idx & 7) << 13);
eDebug("offset %d",offset);
eDebug("tunerfreq %d", tunerfreq);
eDebug("tuningword %d", tuningword);
return offset;
}


/**
* @brief prepare for tune
*
Expand Down
Loading

0 comments on commit 88436a4

Please sign in to comment.