mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
arm ci clock fix
thx DboxOldie
Origin commit data
------------------
Branch: ni/coolstream
Commit: e6408dae33
Author: Frankenstone <dampf_acc@online.de>
Date: 2018-09-06 (Thu, 06 Sep 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -73,6 +73,12 @@ const CMenuOptionChooser::keyval OPTIONS_CI_MODE_OPTIONS[] =
|
||||
};
|
||||
#define OPTIONS_CI_MODE_OPTION_COUNT (sizeof(OPTIONS_CI_MODE_OPTIONS)/sizeof(CMenuOptionChooser::keyval))
|
||||
|
||||
#define CI_CLOCK_OPTION_COUNT 2
|
||||
static const CMenuOptionChooser::keyval CI_CLOCK_OPTIONS[CI_CLOCK_OPTION_COUNT] = {
|
||||
{ 6, LOCALE_CI_CLOCK_NORMAL },
|
||||
{ 7, LOCALE_CI_CLOCK_HIGH }
|
||||
};
|
||||
|
||||
void CCAMMenuHandler::init(void)
|
||||
{
|
||||
hintBox = NULL;
|
||||
@@ -136,7 +142,11 @@ int CCAMMenuHandler::doMainMenu()
|
||||
int CiSlots = ca ? ca->GetNumberCISlots() : 0;
|
||||
if(CiSlots) {
|
||||
cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_RESET_STANDBY, &g_settings.ci_standby_reset, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true));
|
||||
#if HAVE_ARM_HARDWARE
|
||||
cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_CLOCK, &g_settings.ci_clock, CI_CLOCK_OPTIONS, CI_CLOCK_OPTION_COUNT, true, this));
|
||||
#else
|
||||
cammenu->addItem( new CMenuOptionNumberChooser(LOCALE_CI_CLOCK, &g_settings.ci_clock, true, 6, 12, this));
|
||||
#endif
|
||||
}
|
||||
cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_IGNORE_MSG, &g_settings.ci_ignore_messages, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true));
|
||||
cammenu->addItem( new CMenuOptionChooser(LOCALE_CI_SAVE_PINCODE, &g_settings.ci_save_pincode, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this));
|
||||
|
Reference in New Issue
Block a user