mipsbox: fix build psisetup

Origin commit data
------------------
Branch: ni/coolstream
Commit: b4ce2a8592
Author: max_10 <max_10@gmx.de>
Date: 2021-12-19 (Sun, 19 Dec 2021)

Origin message was:
------------------
- mipsbox: fix build psisetup

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2021-12-19 23:12:03 +01:00
committed by vanhofen
parent 6a411a4fc6
commit db81f9f577
2 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@
#include <driver/radiotext.h> #include <driver/radiotext.h>
#include <driver/scanepg.h> #include <driver/scanepg.h>
#if HAVE_ARM_HARDWARE #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
#include "gui/psisetup.h" #include "gui/psisetup.h"
#endif #endif
#include "gui/adzap.h" #include "gui/adzap.h"
@@ -470,7 +470,7 @@ int CNeutrinoApp::loadSetup(const char *fname)
g_settings.hdmi_cec_standby = configfile.getInt32("hdmi_cec_standby", 0); g_settings.hdmi_cec_standby = configfile.getInt32("hdmi_cec_standby", 0);
g_settings.hdmi_cec_volume = configfile.getInt32("hdmi_cec_volume", 0); g_settings.hdmi_cec_volume = configfile.getInt32("hdmi_cec_volume", 0);
#if HAVE_ARM_HARDWARE #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
g_settings.psi_brightness = configfile.getInt32("video_psi_brightness", 128); g_settings.psi_brightness = configfile.getInt32("video_psi_brightness", 128);
g_settings.psi_contrast = configfile.getInt32("video_psi_contrast", 128); g_settings.psi_contrast = configfile.getInt32("video_psi_contrast", 128);
g_settings.psi_saturation = configfile.getInt32("video_psi_saturation", 128); g_settings.psi_saturation = configfile.getInt32("video_psi_saturation", 128);
@@ -1701,7 +1701,7 @@ void CNeutrinoApp::saveSetup(const char *fname)
configfile.setInt32("hdmi_cec_standby", g_settings.hdmi_cec_standby); configfile.setInt32("hdmi_cec_standby", g_settings.hdmi_cec_standby);
configfile.setInt32("hdmi_cec_volume", g_settings.hdmi_cec_volume); configfile.setInt32("hdmi_cec_volume", g_settings.hdmi_cec_volume);
#if HAVE_ARM_HARDWARE #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
configfile.setInt32("video_psi_brightness", g_settings.psi_brightness); configfile.setInt32("video_psi_brightness", g_settings.psi_brightness);
configfile.setInt32("video_psi_contrast", g_settings.psi_contrast); configfile.setInt32("video_psi_contrast", g_settings.psi_contrast);
configfile.setInt32("video_psi_saturation", g_settings.psi_saturation); configfile.setInt32("video_psi_saturation", g_settings.psi_saturation);

View File

@@ -343,7 +343,7 @@ struct SNeutrinoSettings
int hdmi_cec_standby; int hdmi_cec_standby;
int hdmi_cec_volume; int hdmi_cec_volume;
#if HAVE_ARM_HARDWARE #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
int psi_brightness; int psi_brightness;
int psi_contrast; int psi_contrast;
int psi_saturation; int psi_saturation;