summaryrefslogtreecommitdiff
path: root/NxWidgets/UnitTests/CKeypad
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:26:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:26:44 -0600
commit638c1a6dc07b438efa220c5345e94c3a963505ca (patch)
tree85feed8dbf4f2dd7a2eec83ed88606f14a2f02a2 /NxWidgets/UnitTests/CKeypad
parent43ec94a665e13552402ff4f102e0f65f6792cf29 (diff)
downloadnuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.gz
nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.tar.bz2
nuttx-638c1a6dc07b438efa220c5345e94c3a963505ca.zip
More trailing whilespace removal
Diffstat (limited to 'NxWidgets/UnitTests/CKeypad')
-rw-r--r--NxWidgets/UnitTests/CKeypad/Makefile2
-rw-r--r--NxWidgets/UnitTests/CKeypad/ckeypad_main.cxx6
-rw-r--r--NxWidgets/UnitTests/CKeypad/ckeypadtest.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/NxWidgets/UnitTests/CKeypad/Makefile b/NxWidgets/UnitTests/CKeypad/Makefile
index ea5b0fb15..28571f2b2 100644
--- a/NxWidgets/UnitTests/CKeypad/Makefile
+++ b/NxWidgets/UnitTests/CKeypad/Makefile
@@ -87,7 +87,7 @@ STACKSIZE = 2048
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: clean depend context disclean chkcxx chklib
diff --git a/NxWidgets/UnitTests/CKeypad/ckeypad_main.cxx b/NxWidgets/UnitTests/CKeypad/ckeypad_main.cxx
index 0b246683a..c103da9ed 100644
--- a/NxWidgets/UnitTests/CKeypad/ckeypad_main.cxx
+++ b/NxWidgets/UnitTests/CKeypad/ckeypad_main.cxx
@@ -155,7 +155,7 @@ static void clickButtons(CKeypadTest *test, CKeypad *keypad)
int clickRow;
if (keypad->isButtonClicked(clickColumn, clickRow))
{
- printf("clickButtons: %s: Button (%d, %d) is clicked\n",
+ printf("clickButtons: %s: Button (%d, %d) is clicked\n",
clickColumn == i && clickRow == j ? "OK" : "ERROR",
clickColumn, clickRow);
}
@@ -174,10 +174,10 @@ static void clickButtons(CKeypadTest *test, CKeypad *keypad)
test->poll(keypad);
if (keypad->isButtonClicked(clickColumn, clickRow))
{
- printf("clickButtons: ERROR: Button (%d, %d) is clicked\n",
+ printf("clickButtons: ERROR: Button (%d, %d) is clicked\n",
clickColumn, clickRow);
}
-
+
usleep(500*1000);
}
}
diff --git a/NxWidgets/UnitTests/CKeypad/ckeypadtest.cxx b/NxWidgets/UnitTests/CKeypad/ckeypadtest.cxx
index 300148cc3..62e01a93c 100644
--- a/NxWidgets/UnitTests/CKeypad/ckeypadtest.cxx
+++ b/NxWidgets/UnitTests/CKeypad/ckeypadtest.cxx
@@ -221,7 +221,7 @@ void CKeypadTest::setDisplaySize(void)
m_buttonWidth = windowSize.w >> 2;
}
-
+
// Lets aim for a height of 7*32 = 224. But lets bump up the number of rows
// to allow one for the text box.
@@ -340,7 +340,7 @@ void CKeypadTest::showKeypad(CKeypad *keypad)
keypad->redraw();
// Then redraw the text box
-
+
m_textbox->enable(); // Un-necessary, the widget is enabled by default
m_textbox->enableDrawing();
m_textbox->redraw();