Changeset 555:77c3a38a2218

Show
Ignore:
Timestamp:
06/01/08 00:15:17 (7 months ago)
Author:
David Anderson <dave@…>
Branch:
default
Message:

Fix the build and replace additions with bitwise ORs.

The whitespace removal change somehow also amputated the trailing + signs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nxos/base/drivers/sound.c

    r551 r555  
    6666   * there is data available to send. 
    6767   */ 
    68   *AT91C_SSC_TCMR = (AT91C_SSC_CKS_DIV 
    69                      AT91C_SSC_CKO_CONTINOUS 
     68  *AT91C_SSC_TCMR = (AT91C_SSC_CKS_DIV | 
     69                     AT91C_SSC_CKO_CONTINOUS | 
    7070                     AT91C_SSC_START_CONTINOUS); 
    7171 
     
    7575   */ 
    7676  *AT91C_SSC_TFMR = 
    77     31 + AT91C_SSC_DATDEF + AT91C_SSC_MSBF + (7 << 8); 
     77    31 | AT91C_SSC_DATDEF | AT91C_SSC_MSBF | (7 << 8); 
    7878 
    7979  /* Idle the output data pin of the SSC. The value on the pin will