summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/ccalibration.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-11 00:05:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-11 00:05:25 +0000
commita280d993608d0c40ad0b4efc8adcbf72f67d53a4 (patch)
tree0c718467856492451acfb8af51db3d59abad08fb /NxWidgets/nxwm/src/ccalibration.cxx
parent68f3044b5099572850a9e81a1c63161c20809547 (diff)
downloadnuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.tar.gz
nuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.tar.bz2
nuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.zip
NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/ccalibration.cxx')
-rw-r--r--NxWidgets/nxwm/src/ccalibration.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/src/ccalibration.cxx b/NxWidgets/nxwm/src/ccalibration.cxx
index 6e66f3028..82c12ebb3 100644
--- a/NxWidgets/nxwm/src/ccalibration.cxx
+++ b/NxWidgets/nxwm/src/ccalibration.cxx
@@ -43,6 +43,7 @@
#include "nxwmconfig.hxx"
#include "nxwmglyphs.hxx"
+#include "ctouchscreen.hxx"
#include "ccalibration.hxx"
/****************************************************************************
@@ -161,7 +162,7 @@ bool CCalibration::run(void)
// Wait for the next raw touchscreen input
struct touch_sample_s sample;
- while (!m_touchscreen->waitRawTouchData(sample));
+ while (!m_touchscreen->waitRawTouchData(&sample));
// Then process the raw touchscreen input
@@ -190,7 +191,7 @@ void CCalibration::stop(void)
void CCalibration::hide(void)
{
-#warning "Revisit"
+ // REVISIT
}
/**