diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-05 02:31:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-05 02:31:59 +0000 |
commit | 995855bd907c315e68b5a7865a065c6afa6512b6 (patch) | |
tree | 7daf7da649ab6ab521e091e82beb6ca8e9985481 /nuttx/configs/sam3u-ek/src/up_lcd.c | |
parent | c07e3aeb901dac03d1faff65b4c6eda1de25141c (diff) | |
download | px4-nuttx-995855bd907c315e68b5a7865a065c6afa6512b6.tar.gz px4-nuttx-995855bd907c315e68b5a7865a065c6afa6512b6.tar.bz2 px4-nuttx-995855bd907c315e68b5a7865a065c6afa6512b6.zip |
Misc documentation/LCD-related updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3844 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_lcd.c')
-rwxr-xr-x | nuttx/configs/sam3u-ek/src/up_lcd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_lcd.c b/nuttx/configs/sam3u-ek/src/up_lcd.c index 8b0a919f7..2de563f9b 100755 --- a/nuttx/configs/sam3u-ek/src/up_lcd.c +++ b/nuttx/configs/sam3u-ek/src/up_lcd.c @@ -2,7 +2,7 @@ * configs/sam3u-ek/src/up_lcd.c * arch/arm/src/board/up_lcd.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. + * Copyright (C) 2010-2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -168,12 +168,12 @@ /* Graphics Capbilities ***************************************************************/ /* LCD resolution: 320 (columns) by 240 (rows). The physical dimensions of the device - * are really 240 (columns) by 320 (rows), but unless CONFIG_SAM3U_240x320 is defined, + * are really 240 (columns) by 320 (rows), but unless CONFIG_LCD_PORTRAIT is defined, * we swap rows and columns in setcursor to make things behave nicer (there IS a * performance hit for this swap!). */ -#ifdef CONFIG_SAM3U_240x320 +#ifdef CONFIG_LCD_PORTRAIT # define SAM3UEK_XRES 240 # define SAM3UEK_YRES 320 #else @@ -606,7 +606,7 @@ static int sam3u_putrun(fb_coord_t row, fb_coord_t col, FAR const uint8_t *buffe gvdbg("row: %d col: %d npixels: %d\n", row, col, npixels); DEBUGASSERT(buffer && ((uintptr_t)buffer & 1) == 0); -#ifdef CONFIG_SAM3U_240x320 +#ifdef CONFIG_LCD_PORTRAIT /* Set up to write the run. */ sam3u_setcursor(row, col); @@ -672,7 +672,7 @@ static int sam3u_getrun(fb_coord_t row, fb_coord_t col, FAR uint8_t *buffer, gvdbg("row: %d col: %d npixels: %d\n", row, col, npixels); DEBUGASSERT(buffer && ((uintptr_t)buffer & 1) == 0); -#ifdef CONFIG_SAM3U_240x320 +#ifdef CONFIG_LCD_PORTRAIT /* Set up to read the run */ sam3u_setcursor(row, col); |