mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
disarm broken HAVE_SPARK_HARDWARE code
This commit is contained in:
@@ -283,7 +283,7 @@ int CKeybindSetup::showKeySetup()
|
||||
cc->setHint("", LOCALE_MENU_HINT_LONGKEYPRESS_DURATION);
|
||||
keySettings->addItem(cc);
|
||||
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
#if 0
|
||||
g_settings.accept_other_remotes = access("/etc/lircd_predata_lock", R_OK) ? 1 : 0;
|
||||
CMenuOptionChooser *mc = new CMenuOptionChooser(LOCALE_KEYBINDINGMENU_ACCEPT_OTHER_REMOTES,
|
||||
&g_settings.accept_other_remotes, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, this,
|
||||
@@ -512,7 +512,7 @@ void CKeybindSetup::showKeyBindSpecialSetup(CMenuWidget *bindSettings_special)
|
||||
|
||||
bool CKeybindSetup::changeNotify(const neutrino_locale_t OptionName, void * /* data */)
|
||||
{
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
#if 0
|
||||
if (ARE_LOCALES_EQUAL(OptionName, LOCALE_KEYBINDINGMENU_ACCEPT_OTHER_REMOTES)) {
|
||||
struct sockaddr_un sun;
|
||||
memset(&sun, 0, sizeof(sun));
|
||||
|
Reference in New Issue
Block a user