Skip to content

Instantly share code, notes, and snippets.

@uru2
Created January 29, 2020 23:28
Show Gist options
  • Save uru2/1b7df6442add0a6383fbd57c265e45a0 to your computer and use it in GitHub Desktop.
Save uru2/1b7df6442add0a6383fbd57c265e45a0 to your computer and use it in GitHub Desktop.
px4_drv 地上波53-62ch対応
--- driver/isdb2056.c.orig
+++ driver/isdb2056.c
@@ -565,8 +565,8 @@
if (freq->freq_no == 12)
real_freq += 2000;
- } else if (freq->freq_no >= 63 && freq->freq_no <= 102) {
- // UHF 13-52ch
+ } else if (freq->freq_no >= 63 && freq->freq_no <= 112) {
+ // UHF 13-62ch
real_freq = 95143 + freq->freq_no * 6000 + freq->slot/* addfreq */;
mode = ISDB_T;
} else {
--- driver/px4.c.orig
+++ driver/px4.c
@@ -833,8 +833,8 @@
if (freq->freq_no == 12)
real_freq += 2000;
- } else if (freq->freq_no >= 63 && freq->freq_no <= 102) {
- // UHF 13-52ch
+ } else if (freq->freq_no >= 63 && freq->freq_no <= 112) {
+ // UHF 13-62ch
real_freq = 95143 + freq->freq_no * 6000 + freq->slot/* addfreq */;
} else {
// Unknown channel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment