Fix typos introduced into NxWM configuration by an earlier check-in today
This commit is contained in:
parent
7a165b1eb9
commit
ef56d18271
2
Kconfig
2
Kconfig
@ -741,7 +741,7 @@ config NXWM_TOUCHSCREEN_LISTENERSTACK
|
||||
---help---
|
||||
Touchscreen listener thread stack size. Default 1024
|
||||
|
||||
config NXWM_TOUSCHCREEN_CONFIGDATA
|
||||
config NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
bool "Touchscreen configuration data"
|
||||
default n
|
||||
depends on PLATFORM_CONFIGDATA
|
||||
|
@ -44,8 +44,8 @@
|
||||
#include <cstdlib>
|
||||
#include <cunistd>
|
||||
|
||||
#ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA
|
||||
# include <arch/platform/configdata.h>
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
# include <apps/platform/configdata.h>
|
||||
#endif
|
||||
|
||||
#include "ctaskbar.hxx"
|
||||
@ -496,7 +496,7 @@ static bool createCalibration(void)
|
||||
}
|
||||
showTestCaseMemory("createCalibration: After creating CCalibration");
|
||||
|
||||
#ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
// Check if we have previously stored calibration data
|
||||
|
||||
int ret = platform_getconfig(CONFIGDATA_TSCALIBRATION, 0,
|
||||
@ -761,7 +761,7 @@ int nxwm_main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN
|
||||
#ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
// There are two possibilies: (1) We started the calibration earlier and now
|
||||
// need to obtain the calibration data from the calibration process, or (2)
|
||||
// We have already obtained stored calibration data in which case, the calibration
|
||||
@ -794,7 +794,7 @@ int nxwm_main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
#if 0 // ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA. Done in CCalibration
|
||||
#if 0 // ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA. Done in CCalibration
|
||||
// Save the new calibration data so that we do not have to do this
|
||||
// again the next time we start up.
|
||||
|
||||
|
@ -45,8 +45,8 @@
|
||||
#include <assert.h>
|
||||
#include <debug.h>
|
||||
|
||||
#ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA
|
||||
# include <arch/platform/configdata.h>
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
# include <apps/platform/configdata.h>
|
||||
#endif
|
||||
|
||||
#include "nxwmconfig.hxx"
|
||||
@ -1103,7 +1103,7 @@ void CCalibration::finishCalibration(void)
|
||||
struct SCalibrationData caldata;
|
||||
if (createCalibrationData(caldata))
|
||||
{
|
||||
#ifdef CONFIG_NXWM_TOUCHCREEN_CONFIGDATA
|
||||
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
|
||||
// Save the new calibration data. The saved calibration
|
||||
// data may be used to avoided recalibrating in the future.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user