Changeset 00c31a2 in buchla-68k for ram/etiosc.c


Ignore:
Timestamp:
11/15/2017 07:46:27 PM (7 years ago)
Author:
Thomas Lopatic <thomas@…>
Branches:
master
Children:
58ff1a9
Parents:
72741f4
Message:

Fixed parentheses and braces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ram/etiosc.c

    r72741f4 r00c31a2  
    102102int16_t cnvp2c(void)
    103103{
    104         if (ebuf[0] EQ 9)               /* high limit is C9 00 */
     104        if (ebuf[0] EQ 9) {             /* high limit is C9 00 */
    105105                if (ebuf[1] GT 2)
    106106                        return(FAILURE);
    107                 else if (ebuf[1] EQ 2)
     107                else if (ebuf[1] EQ 2) {
    108108                        if (ebuf[2] NE 7)
    109109                                return(FAILURE);
    110110                        else if (ebuf[3] OR ebuf[4])
    111111                                return(FAILURE);
     112                }
     113        }
    112114
    113115        cents = (ebuf[0] * 1200) + pitches[ebuf[1]] + shrpflt[ebuf[2] - 7]
Note: See TracChangeset for help on using the changeset viewer.