Changeset bf89cfb in buchla-68k for include/glcdefs.h


Ignore:
Timestamp:
07/15/2017 11:15:58 AM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
c80943f
Parents:
09d1345
Message:

No more warnings in vlib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/glcdefs.h

    r09d1345 rbf89cfb  
    1010#include "stdint.h"
    1111
    12 #define G_INIT          (int8_t)0x40
    13 #define G_MWRITE        (int8_t)0x42
    14 #define G_MREAD         (int8_t)0x43
    15 #define G_SETSAD        (int8_t)0x44
    16 #define G_CRSWR         (int8_t)0x46
    17 #define G_CRSRD         (int8_t)0x47
    18 #define G_CRSMRT        (int8_t)0x4C
    19 #define G_CRSMLT        (int8_t)0x4D
    20 #define G_CRSMUP        (int8_t)0x4E
    21 #define G_CRSMDN        (int8_t)0x4F
    22 #define G_ERASE         (int8_t)0x52
    23 #define G_SLEEP         (int8_t)0x53
    24 #define G_DSPCTL        (int8_t)0x58
    25 #define G_HSCRL         (int8_t)0x5A
    26 #define G_OVRLAY        (int8_t)0x5B
    27 #define G_CGRAM         (int8_t)0x5C
    28 #define G_CRSFRM        (int8_t)0x5D
     12#define G_INIT          0x40
     13#define G_MWRITE        0x42
     14#define G_MREAD         0x43
     15#define G_SETSAD        0x44
     16#define G_CRSWR         0x46
     17#define G_CRSRD         0x47
     18#define G_CRSMRT        0x4C
     19#define G_CRSMLT        0x4D
     20#define G_CRSMUP        0x4E
     21#define G_CRSMDN        0x4F
     22#define G_ERASE         0x52
     23#define G_SLEEP         0x53
     24#define G_DSPCTL        0x58
     25#define G_HSCRL         0x5A
     26#define G_OVRLAY        0x5B
     27#define G_CGRAM         0x5C
     28#define G_CRSFRM        0x5D
    2929
    3030#define LCD_WC          lcd_a1
     
    3333#define LCD_RD          lcd_a1
    3434
    35 #define G_PLANE1        (uint16_t)0x0000
    36 #define G_PLANE2        (uint16_t)0x2000
     35#define G_PLANE1        0x0000
     36#define G_PLANE2        0x2000
    3737
    3838#define G_OFF           0               /* off */
Note: See TracChangeset for help on using the changeset viewer.