~siretart/lcd4linux/debian

« back to all changes in this revision

Viewing changes to drv_T6963.c

  • Committer: Reinhard Tartler
  • Date: 2011-04-27 17:28:49 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: siretart@tauware.de-20110427172849-mj5cj5a0igpcc9fn
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: drv_T6963.c 773 2007-02-25 12:39:09Z michael $
2
 
 * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_T6963.c $
 
1
/* $Id: drv_T6963.c 1136 2010-11-28 16:07:16Z mzuther $
 
2
 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_T6963.c $
3
3
 *
4
4
 * new style driver for T6963-based displays
5
5
 *
6
 
 * Copyright (C) 2003 Michael Reinelt <reinelt@eunet.at>
 
6
 * Copyright (C) 2003 Michael Reinelt <michael@reinelt.co.at>
7
7
 * Copyright (C) 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
8
8
 *
9
9
 * This file is part of LCD4Linux.
65
65
} MODEL;
66
66
 
67
67
static MODEL Models[] = {
68
 
    {0x01, "generic"},
 
68
    {0x01, "T6963"},
69
69
    {0xff, "Unknown"}
70
70
};
71
71
 
279
279
        drv_T6_write_auto(0x0);
280
280
        if (bug) {
281
281
            bug = 0;
282
 
            debug("bug occured at byte %d of %d", i, len);
 
282
            debug("bug occurred at byte %d of %d", i, len);
283
283
        }
284
284
    }
285
285
    drv_T6_status2();
297
297
        drv_T6_write_auto(*(data++));
298
298
        if (bug) {
299
299
            bug = 0;
300
 
            debug("bug occured at byte %d of %d, addr=%d", i, len, addr);
 
300
            debug("bug occurred at byte %d of %d, addr=%d", i, len, addr);
301
301
        }
302
302
    }
303
303
    drv_T6_status2();
509
509
{
510
510
    int ret;
511
511
 
512
 
    info("%s: %s", Name, "$Rev: 773 $");
 
512
    info("%s: %s", Name, "$Rev: 1136 $");
513
513
 
514
514
    /* real worker functions */
515
515
    drv_generic_graphic_real_blit = drv_T6_blit;