summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-12-30 12:39:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-12-30 12:39:23 -0600
commit8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b (patch)
treeb45ebeacd667bd749ceaf1e54b1952a9747ce7ac /NxWidgets/libnxwidgets/src
parent740fa31fee4328e095cfb62a2a9128c858d7f062 (diff)
downloadnuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.gz
nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.bz2
nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.zip
NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts to initialize the touchscreen from NxWM in the kernel build
Diffstat (limited to 'NxWidgets/libnxwidgets/src')
-rw-r--r--NxWidgets/libnxwidgets/src/cimage.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/NxWidgets/libnxwidgets/src/cimage.cxx b/NxWidgets/libnxwidgets/src/cimage.cxx
index b9b93ebb6..eaf4e3005 100644
--- a/NxWidgets/libnxwidgets/src/cimage.cxx
+++ b/NxWidgets/libnxwidgets/src/cimage.cxx
@@ -235,6 +235,7 @@ void CImage::drawContents(CGraphicsPort *port)
// This is the number of rows that we have to pad on the right if the display
// width is wider than the image width
+#if 0 // Not used
nxgl_coord_t nRightPad;
if (nLeftPixels >= rect.getWidth())
{
@@ -244,6 +245,7 @@ void CImage::drawContents(CGraphicsPort *port)
{
nRightPad = rect.getWidth() - nLeftPixels;
}
+#endif
// Apply the padding to the right hand side