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:
Michael Liebmann
2016-08-23 21:21:42 +02:00
committed by vanhofen
parent 234dd9ee3b
commit ec7f1939e7

View File

@@ -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