mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
re-formatting code using astyle; see https://github.com/neutrino-images/ni-buildsystem/blob/master/support/scripts/astyle.sh
Origin commit data
------------------
Branch: master
Commit: 53ca350af4
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-07 (Sun, 07 Nov 2021)
Origin message was:
------------------
- re-formatting code using astyle; see https://github.com/neutrino-images/ni-buildsystem/blob/master/support/scripts/astyle.sh
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -29,10 +29,14 @@ hw_caps_t *get_hwcaps(void)
|
||||
memset(&caps, 0, sizeof(hw_caps_t));
|
||||
|
||||
caps.pip_devs = 0;
|
||||
if (access("/dev/dvb/adapter0/video1", F_OK) != -1) caps.pip_devs = 1;
|
||||
if (access("/dev/dvb/adapter0/video2", F_OK) != -1) caps.pip_devs = 2;
|
||||
if (access("/dev/dvb/adapter0/video3", F_OK) != -1) caps.pip_devs = 3;
|
||||
if (caps.pip_devs > 0) caps.can_pip = 1;
|
||||
if (access("/dev/dvb/adapter0/video1", F_OK) != -1)
|
||||
caps.pip_devs = 1;
|
||||
if (access("/dev/dvb/adapter0/video2", F_OK) != -1)
|
||||
caps.pip_devs = 2;
|
||||
if (access("/dev/dvb/adapter0/video3", F_OK) != -1)
|
||||
caps.pip_devs = 3;
|
||||
if (caps.pip_devs > 0)
|
||||
caps.can_pip = 1;
|
||||
|
||||
#if BOXMODEL_VUDUO
|
||||
caps.has_CI = 2;
|
||||
|
Reference in New Issue
Block a user