diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-30 12:39:23 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-30 12:39:23 -0600 |
commit | 8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b (patch) | |
tree | b45ebeacd667bd749ceaf1e54b1952a9747ce7ac /NxWidgets/libnxwidgets/src | |
parent | 740fa31fee4328e095cfb62a2a9128c858d7f062 (diff) | |
download | px4-nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.gz px4-nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.bz2 px4-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.cxx | 2 |
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 |