mirror of
https://github.com/Silicondust/libhdhomerun
synced 2025-08-20 13:33:29 -07:00
Merge 79df74d62c
into 64aa1606b5
This commit is contained in:
commit
a86f41d3c8
1 changed files with 2 additions and 2 deletions
|
@ -480,7 +480,7 @@ int hdhomerun_device_get_tuner_status(struct hdhomerun_device_t *hd, char **psta
|
|||
status->raw_bits_per_second = hdhomerun_device_get_status_parse(status_str, "bps=");
|
||||
status->packets_per_second = hdhomerun_device_get_status_parse(status_str, "pps=");
|
||||
|
||||
status->signal_present = status->signal_strength >= 45;
|
||||
status->signal_present = status->signal_strength >= 30;
|
||||
|
||||
if (strcmp(status->lock_str, "none") != 0) {
|
||||
if (status->lock_str[0] == '(') {
|
||||
|
@ -526,7 +526,7 @@ int hdhomerun_device_get_oob_status(struct hdhomerun_device_t *hd, char **pstatu
|
|||
|
||||
status->signal_strength = (unsigned int)hdhomerun_device_get_status_parse(status_str, "ss=");
|
||||
status->signal_to_noise_quality = (unsigned int)hdhomerun_device_get_status_parse(status_str, "snq=");
|
||||
status->signal_present = status->signal_strength >= 45;
|
||||
status->signal_present = status->signal_strength >= 30;
|
||||
status->lock_supported = (strcmp(status->lock_str, "none") != 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue