Changeset 7258c6a in buchla-68k for ram/puteq.c


Ignore:
Timestamp:
07/09/2017 04:45:34 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
8618599
Parents:
0292fbb
Message:

Use standard integer types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/puteq.c

    r0292fbb r7258c6a  
    5353#endif
    5454
    55 char eqgaint[] = {
     55int8_t eqgaint[] = {
    5656
    5757        0x00,   /*  0 db */
     
    7474*/
    7575
    76 void puteq(char byte)
    77 {
    78         register short i;
    79         register char *psg;
    80         register char eqdata;
     76void puteq(int8_t byte)
     77{
     78        register int16_t i;
     79        register int8_t *psg;
     80        register int8_t eqdata;
    8181
    8282        psg = &io_tone;
     
    123123*/
    124124
    125 void sendeq(char band, char gain)
     125void sendeq(int8_t band, int8_t gain)
    126126{
    127127        puteq(band);
     
    129129}
    130130
    131 char gain2eq(short gain)
    132 {
    133         register char eqdat;
     131int8_t gain2eq(int16_t gain)
     132{
     133        register int8_t eqdat;
    134134
    135135        if (gain > 0)
Note: See TracChangeset for help on using the changeset viewer.