mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
Adapt neutrino-mp for CST hardware part #3
- Adapt and extend hw_caps for cst hardware
Origin commit data
------------------
Commit: fe9a2c19e4
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-15 (Fri, 15 Jan 2016)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
* part of libstb-hal
|
||||
*
|
||||
* (C) 2010-2012 Stefan Seyfried
|
||||
* (C) 2016 M. Liebmann
|
||||
*
|
||||
* License: GPL v2 or later
|
||||
*/
|
||||
@@ -11,9 +12,9 @@
|
||||
|
||||
#include "cs_api.h"
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
||||
typedef enum
|
||||
{
|
||||
typedef enum {
|
||||
HW_DISPLAY_NONE,
|
||||
HW_DISPLAY_LED_NUM, /* simple 7 segment LED display */
|
||||
HW_DISPLAY_LINE_TEXT, /* 1 line text display */
|
||||
@@ -21,8 +22,7 @@ typedef enum
|
||||
} display_type_t;
|
||||
|
||||
|
||||
typedef struct hw_caps
|
||||
{
|
||||
typedef struct hw_caps {
|
||||
int has_fan;
|
||||
int has_HDMI;
|
||||
int has_SCART;
|
||||
@@ -36,7 +36,10 @@ typedef struct hw_caps
|
||||
int can_set_display_brightness;
|
||||
char boxvendor[64];
|
||||
char boxname[64];
|
||||
char chipset[64];
|
||||
char frontend[64];
|
||||
} hw_caps_t;
|
||||
|
||||
std::string getTuner();
|
||||
hw_caps_t *get_hwcaps(void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user