Cosmetic update to comments

This commit is contained in:
Gregory Nutt 2014-10-12 10:53:29 -06:00
parent 350b065329
commit d7831f37b8
2 changed files with 7 additions and 8 deletions

View File

@ -1010,7 +1010,7 @@ void CCalibration::stateMachine(void)
m_calibData[CALIB_LOWER_LEFT_INDEX].y = m_touchPos.y;
#endif
// Clear the previous screen by re-drawing it using the backgro9und
// Clear the previous screen by re-drawing it using the background
// color. That is much faster than clearing the whole display
m_screenInfo.lineColor = CONFIG_NXWM_CALIBRATION_BACKGROUNDCOLOR;
@ -1289,7 +1289,7 @@ CCalibrationFactory::CCalibrationFactory(CTaskbar *taskbar, CTouchscreen *touchs
IApplication *CCalibrationFactory::create(void)
{
// Call CTaskBar::openFullScreenWindow to create a full screen window for
// the calibation application
// the calibration application
CFullScreenWindow *window = m_taskbar->openFullScreenWindow();
if (!window)

View File

@ -228,7 +228,7 @@ void CTouchscreen::setCalibrationData(const struct SCalibrationData &caldata)
* This function is not re-entrant: There may be only one thread waiting for
* raw touchscreen data.
*
* @return True if the raw touchscreen data was sucessfully obtained
* @return True if the raw touchscreen data was successfully obtained
*/
bool CTouchscreen::waitRawTouchData(struct touch_sample_s *touch)
@ -265,7 +265,7 @@ bool CTouchscreen::waitRawTouchData(struct touch_sample_s *touch)
/**
* The touchscreen listener thread. This is the entry point of a thread that
* listeners for and dispatches touchscreens events to the NX server.
* listeners for and dispatches touchscreen events to the NX server.
*
* @param arg. The CTouchscreen 'this' pointer cast to a void*.
* @return This function normally does not return but may return NULL on
@ -320,7 +320,7 @@ FAR void *CTouchscreen::listener(FAR void *arg)
// 3. Normal operation, reading touchscreen data and forwarding it to NX
// Check if we need to collect touchscreen data. That is, that we are enabled,
// AND have calibratation data OR if we need to collect data for the calbration
// AND have calibration data OR if we need to collect data for the calibration
// process.
while ((!This->m_enabled || !This->m_calibrated) && !This->m_capture)
@ -431,7 +431,7 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample)
DEBUGASSERT(sample == &m_sample);
// Check if normal processing of touchscreen data is enaable. Check if
// Check if normal processing of touchscreen data is enabled. Check if
// we have been given calibration data.
if (!m_enabled || !m_calibrated)
@ -443,7 +443,7 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample)
}
// Now we will inject the touchscreen into NX as mouse input. First
// massage the data a litle so that it behaves a little more like a
// massage the data a little so that it behaves a little more like a
// mouse with only a left button
//
// Was the button up or down?
@ -592,4 +592,3 @@ void CTouchscreen::handleMouseInput(struct touch_sample_s *sample)
NXHANDLE handle = m_server->getServer();
(void)nx_mousein(handle, x, y, buttons);
}