mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
CImageInfoNI::paint_NET_Info: Fix max_bit for hd2 hardware
Origin commit data
------------------
Commit: 2dbf038eba
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-23 (Tue, 23 Aug 2016)
This commit is contained in:
committed by
vanhofen
parent
234dd9ee3b
commit
ec7f1939e7
@@ -49,6 +49,7 @@
|
||||
#include <gui/customcolor.h>
|
||||
#include <gui/components/cc.h>
|
||||
#include <system/debug.h>
|
||||
#include <cs_api.h>
|
||||
|
||||
#include <linux/version.h>
|
||||
|
||||
@@ -809,7 +810,9 @@ void CImageInfoNI::paint_NET_Info(int posx, int posy)
|
||||
* 104857600 Bit
|
||||
*/
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
int max_bit = 1073741824;
|
||||
int max_bit = 104857600; /* Shiner, Kronos */
|
||||
if (cs_get_revision() == 9)
|
||||
max_bit = 1073741824; /* Apollo */
|
||||
#else
|
||||
int max_bit = 104857600;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user