Fix some spacing problems

This commit is contained in:
Gregory Nutt
2015-10-04 15:04:00 -06:00
parent 863ded3584
commit 0b12dbf95d
88 changed files with 226 additions and 229 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ int nx_mousein(NXHANDLE handle, nxgl_coord_t x, nxgl_coord_t y, uint8_t buttons)
y = g_mrange.y - 1;
}
/* Look any change in values */
/* Look any change in values */
if (x != g_mpos.x || y != g_mpos.y || buttons != g_mbutton)
{
+1 -1
View File
@@ -151,7 +151,7 @@ static inline int nxsu_setup(FAR NX_DRIVERTYPE *dev,
fe->be.topwnd = &fe->be.bkgd;
/* Initialize the mouse position */
/* Initialize the mouse position */
#ifdef CONFIG_NX_XYINPUT
nxsu_mouseinit(fe->be.vinfo.xres, fe->be.vinfo.yres);
+8 -8
View File
@@ -418,14 +418,14 @@ void nxterm_kbdin(NXTERM handle, FAR const uint8_t *buffer, uint8_t buflen)
return;
}
/* Loop until all of the bytes have been written. This function may be
* called from an interrupt handler! Semaphores cannot be used!
*
* The write logic only needs to modify the head index. Therefore,
* there is a difference in the way that head and tail are protected:
* tail is protected with a semaphore; tail is protected by disabling
* interrupts.
*/
/* Loop until all of the bytes have been written. This function may be
* called from an interrupt handler! Semaphores cannot be used!
*
* The write logic only needs to modify the head index. Therefore,
* there is a difference in the way that head and tail are protected:
* tail is protected with a semaphore; tail is protected by disabling
* interrupts.
*/
for (nwritten = 0; nwritten < buflen; nwritten++)
{