~ubuntu-branches/ubuntu/trusty/lcd4linux/trusty-proposed

« back to all changes in this revision

Viewing changes to drv_picoLCDGraphic.c

  • Committer: Package Import Robot
  • Author(s): Jonathan McCrohan
  • Date: 2012-05-19 15:10:03 UTC
  • mfrom: (1.1.8)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: package-import@ubuntu.com-20120519151003-is09w5xk0122vnuc
Tags: 0.11.0~svn1189-1
* New upstream snapshot
  - Adds Hex support to the evaluator
  - Fixes -Wimplicit-function-declaration build warnings
  - Fixes -Werror=format-security build errors
  - Fixes plugin_file syslog flood if file does not exist
* d/rules: Add get-orig-source target
* Bump dh to v9
* Switch to dh-style debian/rules
* Add Build-Depends on libftdi-dev, libgphoto2-2-dev, libmpdclient-dev and
  libvncserver-dev to enable new drivers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: drv_picoLCDGraphic.c 1153 2011-07-27 05:12:30Z michael $
 
1
/* $Id: drv_picoLCDGraphic.c 1181 2012-03-15 03:48:49Z michael $
2
2
 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_picoLCDGraphic.c $
3
3
 *
4
4
 * driver for picoLCD Graphic(256x64) displays from mini-box.com
432
432
 
433
433
    if (backlight < 0)
434
434
        backlight = 0;
435
 
    if (backlight >= 1)
436
 
        backlight = 200;
 
435
    if (backlight > 255)
 
436
        backlight = 255;
437
437
 
438
438
    cmd[1] = backlight;
439
439
    drv_pLG_send(cmd, 2);
667
667
{
668
668
    int ret;
669
669
 
670
 
    info("%s: %s", Name, "$Rev: 1153 $");
 
670
    info("%s: %s", Name, "$Rev: 1181 $");
671
671
 
672
672
    info("PICOLCD Graphic initialization\n");
673
673