Lines 845-851
Link Here
|
845 |
CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, volt)); |
845 |
CHECK(ioctl(fd_frontend, FE_SET_VOLTAGE, volt)); |
846 |
CHECK(ioctl(fd_frontend, FE_SET_TONE, tone)); |
846 |
CHECK(ioctl(fd_frontend, FE_SET_TONE, tone)); |
847 |
} |
847 |
} |
848 |
frequency = abs(frequency); // Allow for C-band, where the frequency is less than the LOF |
848 |
frequency = abs((int) frequency); // Allow for C-band, where the frequency is less than the LOF |
849 |
|
849 |
|
850 |
// DVB-S/DVB-S2 (common parts) |
850 |
// DVB-S/DVB-S2 (common parts) |
851 |
SETCMD(DTV_FREQUENCY, frequency * 1000UL); |
851 |
SETCMD(DTV_FREQUENCY, frequency * 1000UL); |