diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-08 02:16:26 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-08 02:16:26 +0000 |
commit | 4a54aad4b2a95cc8cd905e2ecf060b017fea5ba8 (patch) | |
tree | cd6253ef2cbaf45bc336b72c5018431578534481 /apps | |
parent | 2f382d0878e923fbed7d7dda6bd19abd2553557d (diff) | |
download | px4-firmware-4a54aad4b2a95cc8cd905e2ecf060b017fea5ba8.tar.gz px4-firmware-4a54aad4b2a95cc8cd905e2ecf060b017fea5ba8.tar.bz2 px4-firmware-4a54aad4b2a95cc8cd905e2ecf060b017fea5ba8.zip |
Fix typo in example code
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4816 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/nximage/nximage_bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/nximage/nximage_bitmap.c b/apps/examples/nximage/nximage_bitmap.c index 6b0d13718..a7c304d31 100644 --- a/apps/examples/nximage/nximage_bitmap.c +++ b/apps/examples/nximage/nximage_bitmap.c @@ -1,8 +1,8 @@ /******************************************************************************************** * examples/nximage/nximage_bitmap.c * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -3683,7 +3683,7 @@ void nximage_blitrow(FAR nxgl_mxpixel_t *run, FAR const void **state) #if defined(CONFIG_EXAMPLES_NXIMAGE_XSCALEp5) || defined(CONFIG_EXAMPLES_NXIMAGE_XSCALE1p5) nhalfpixels += nrun & 1; #ifdef CONFIG_EXAMPLES_NXIMAGE_XSCALEp5 - nrum >>= 1; + nrun >>= 1; #else nrun = nrun + (nrun >> 1); #endif |