diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-01 18:44:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-01 18:44:57 +0000 |
commit | 4a52ec4022805eae6529ebe8c5b9c7bdff1a87e9 (patch) | |
tree | a5e47310d3d2e5ab1449198a656f823e92bff3df /nuttx/drivers/lcd | |
parent | 8da9aa0f9aadaf51aabbb64fadc1ea7d9f9bc6a0 (diff) | |
download | px4-nuttx-4a52ec4022805eae6529ebe8c5b9c7bdff1a87e9.tar.gz px4-nuttx-4a52ec4022805eae6529ebe8c5b9c7bdff1a87e9.tar.bz2 px4-nuttx-4a52ec4022805eae6529ebe8c5b9c7bdff1a87e9.zip |
Another random number generator update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5406 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/lcd')
-rw-r--r-- | nuttx/drivers/lcd/ug-2864ambag01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/drivers/lcd/ug-2864ambag01.c b/nuttx/drivers/lcd/ug-2864ambag01.c index e133f3901..2a47b38eb 100644 --- a/nuttx/drivers/lcd/ug-2864ambag01.c +++ b/nuttx/drivers/lcd/ug-2864ambag01.c @@ -970,7 +970,7 @@ static int ug2864ambag01_setcontrast(struct lcd_dev_s *dev, unsigned int contras */ #if CONFIG_LCD_MAXCONTRAST != 255 - newcontrast = ((contrast << 8) - 1) / CONFIG_LCD_MAXCONTRAST; + scaled = ((contrast << 8) - 1) / CONFIG_LCD_MAXCONTRAST; #else scaled = contrast; #endif |