~jmccrohan/lcd4linux/debian

« back to all changes in this revision

Viewing changes to drv_GLCD2USB.c

  • Committer: Reinhard Tartler
  • Date: 2011-08-26 07:24:25 UTC
  • mto: This revision was merged to the branch mainline in revision 761.
  • Revision ID: siretart@tauware.de-20110826072425-63zxk8hvdzypwote
Tags: upstream-0.11.0~svn1158
ImportĀ upstreamĀ versionĀ 0.11.0~svn1158

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: drv_GLCD2USB.c 1134 2010-11-20 20:22:05Z mzuther $
 
1
 
 
2
/* $Id: drv_GLCD2USB.c 1144 2011-05-06 18:21:47Z harbaum $
2
3
 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_GLCD2USB.c $
3
4
 *
4
5
 * GLCD2USB driver for LCD4Linux 
582
583
{
583
584
    int ret;
584
585
 
585
 
    info("%s: %s", Name, "$Rev: 1134 $");
 
586
    info("%s: %s", Name, "$Rev: 1144 $");
586
587
 
587
588
    /* real worker functions */
588
589
    drv_generic_graphic_real_blit = drv_GLCD2USB_blit;
596
597
    if ((ret = drv_generic_graphic_init(section, Name)) != 0)
597
598
        return ret;
598
599
 
 
600
    /* initialize generic key pad driver */
 
601
    if ((ret = drv_generic_keypad_init(section, Name)) != 0)
 
602
        return ret;
 
603
 
599
604
    /* register plugins */
600
605
    AddFunction("LCD::brightness", 1, plugin_brightness);
601
606
 
612
617
    info("%s: shutting down.", Name);
613
618
    drv_generic_graphic_quit();
614
619
 
 
620
    drv_generic_keypad_quit();
 
621
 
615
622
    /* release access to display */
616
623
 
617
624
    buffer.bytes[0] = GLCD2USB_RID_SET_ALLOC;