mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
neutrino: start to use hardware_caps
Use hardware_caps instead of cs_get_revision() and #ifdef HAVE_FOO_HW to distinguish between different boxtypes.
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
#include <zapit/client/zapitclient.h>
|
||||
#include <zapit/client/zapittools.h>
|
||||
|
||||
#include <hardware_caps.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#if HAVE_COOL_HARDWARE
|
||||
@@ -662,6 +664,7 @@ struct SglobalInfo
|
||||
unsigned char box_Type;
|
||||
delivery_system_t delivery_system;
|
||||
bool has_fan;
|
||||
hw_caps_t *hw_caps;
|
||||
};
|
||||
|
||||
const int RECORDING_OFF = 0;
|
||||
|
Reference in New Issue
Block a user