From 638c1a6dc07b438efa220c5345e94c3a963505ca Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 13 Apr 2014 16:26:44 -0600 Subject: More trailing whilespace removal --- NxWidgets/UnitTests/CButtonArray/Makefile | 2 +- NxWidgets/UnitTests/CButtonArray/cbuttonarray_main.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'NxWidgets/UnitTests/CButtonArray') diff --git a/NxWidgets/UnitTests/CButtonArray/Makefile b/NxWidgets/UnitTests/CButtonArray/Makefile index 535ceb948..22d2390c3 100644 --- a/NxWidgets/UnitTests/CButtonArray/Makefile +++ b/NxWidgets/UnitTests/CButtonArray/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/CButtonArray/cbuttonarray_main.cxx b/NxWidgets/UnitTests/CButtonArray/cbuttonarray_main.cxx index 824ae22c4..b9bb47a4b 100644 --- a/NxWidgets/UnitTests/CButtonArray/cbuttonarray_main.cxx +++ b/NxWidgets/UnitTests/CButtonArray/cbuttonarray_main.cxx @@ -67,7 +67,7 @@ static unsigned int g_mmPrevious; static unsigned int g_mmPeak; static FAR const char *g_buttonLabels[BUTTONARRAY_NCOLUMNS*BUTTONARRAY_NROWS] = { - "=>", "A", "B", "", "A", "B", "isButtonClicked(clickColumn, clickRow)) { - printf("cbuttonarray_main: %s: Button (%d, %d) is clicked\n", + printf("cbuttonarray_main: %s: Button (%d, %d) is clicked\n", clickColumn == i && clickRow == j ? "OK" : "ERROR", clickColumn, clickRow); } @@ -304,10 +304,10 @@ int cbuttonarray_main(int argc, char *argv[]) test->poll(buttonArray); if (buttonArray->isButtonClicked(clickColumn, clickRow)) { - printf("cbuttonarray_main: ERROR: Button (%d, %d) is clicked\n", + printf("cbuttonarray_main: ERROR: Button (%d, %d) is clicked\n", clickColumn, clickRow); } - + usleep(500*1000); } } -- cgit v1.2.3