mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Fix some spacing problems
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user