diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index 44dc294..c765edf 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -1949,7 +1949,7 @@ void cCA::SetCIDelay(int Delay) } } -void cCA::SetCIRelevantPidsRouting(bool RPR, int slot) +void cCA::SetCIRelevantPidsRouting(int RPR, int slot) { char buf[64]; snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot); @@ -1957,7 +1957,7 @@ void cCA::SetCIRelevantPidsRouting(bool RPR, int slot) printf("%s -> %s to: %b\n", FILENAME, __func__, RPR); if (ci) { - fprintf(ci, "%s", RPR == true ? "yes" : "no"); + fprintf(ci, "%s", RPR == 1 ? "yes" : "no"); fclose(ci); } } diff --git a/include/ca_ci.h b/include/ca_ci.h index 5bb9b51..155aea9 100644 --- a/include/ca_ci.h +++ b/include/ca_ci.h @@ -333,7 +333,7 @@ public: /// dvb wait delay for ci response void SetCIDelay(int Delay); /// relevant pids routing - void SetCIRelevantPidsRouting(bool RPR, int slot = 0); + void SetCIRelevantPidsRouting(int RPR, int slot = 0); #endif /// Start the CA module