summaryrefslogtreecommitdiff
path: root/apps/examples/nximage
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/nximage')
-rw-r--r--apps/examples/nximage/Makefile2
-rw-r--r--apps/examples/nximage/nximage_bitmap.c8
-rw-r--r--apps/examples/nximage/nximage_bkgd.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/nximage/Makefile b/apps/examples/nximage/Makefile
index 42ab1adeb..afaf6eb9d 100644
--- a/apps/examples/nximage/Makefile
+++ b/apps/examples/nximage/Makefile
@@ -68,7 +68,7 @@ STACKSIZE = 2048
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: context clean depend distclean
diff --git a/apps/examples/nximage/nximage_bitmap.c b/apps/examples/nximage/nximage_bitmap.c
index a7c304d31..a48c485a2 100644
--- a/apps/examples/nximage/nximage_bitmap.c
+++ b/apps/examples/nximage/nximage_bitmap.c
@@ -1075,7 +1075,7 @@ static const struct pix_run_s g_nuttx[] =
{ 77, 0},
{ 76, 0}, { 1, 5}, { 4, 4}, { 1, 5}, { 78, 0} /* Row 159 */
};
-
+
#elif CONFIG_EXAMPLES_NXIMAGE_BPP == 16
static const struct pix_run_s g_nuttx[] =
@@ -3545,7 +3545,7 @@ nxgl_mxpixel_t nximage_avgcolor(nxgl_mxpixel_t color1, nxgl_mxpixel_t color2)
{
b1 = 0xff;
}
-
+
/* Multiplex */
color1 = r1 << 16 | g1 << 8 | b1;
@@ -3586,7 +3586,7 @@ nxgl_mxpixel_t nximage_avgcolor(nxgl_mxpixel_t color1, nxgl_mxpixel_t color2)
{
b1 = 0x1f;
}
-
+
/* Multiplex */
color1 = r1 << 11 | g1 << 5 | b1;
@@ -3629,7 +3629,7 @@ nxgl_mxpixel_t nximage_avgcolor(nxgl_mxpixel_t color1, nxgl_mxpixel_t color2)
{
b1 = 0x03;
}
-
+
/* Multiplex */
color1 = r1 << 5 | g1 << 2 | b1;
diff --git a/apps/examples/nximage/nximage_bkgd.c b/apps/examples/nximage/nximage_bkgd.c
index 4a028f720..ddd7b4a72 100644
--- a/apps/examples/nximage/nximage_bkgd.c
+++ b/apps/examples/nximage/nximage_bkgd.c
@@ -295,7 +295,7 @@ void nximage_image(NXWINDOW hwnd)
dest.pt1.x = pos.x;
dest.pt2.x = pos.x + SCALED_WIDTH - 1;
-
+
/* Now output the rows */
for (row = 0; row < IMAGE_HEIGHT; row += NINPUT_ROWS)