Ignore:
Timestamp:
Jun 19, 2014, 1:31:45 PM (10 years ago)
Author:
alain
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_drivers/mwr_driver.c

    r320 r333  
    1111//
    1212// The (virtual) base address of the associated segment is:
    13 //       SEG_MWR_BASE + cluster_xy * VSEG_CLUSTER_INCREMENT
     13//       SEG_MWR_BASE + cluster_xy * PERI_CLUSTER_INCREMENT
    1414//
    15 // SEG_MWR_BASE and VSEG_CLUSTER_INCREMENT must be defined in hard_config.h
     15// SEG_MWR_BASE and PERI_CLUSTER_INCREMENT must be defined in hard_config.h
    1616////////////////////////////////////////////////////////////////////////////////
    1717
     
    4141#endif
    4242
    43 #if !defined(VSEG_CLUSTER_INCREMENT)
    44 # error: You must define VSEG_CLUSTER_INCREMENT in the hard_config.h file
     43#if !defined(PERI_CLUSTER_INCREMENT)
     44# error: You must define PERI_CLUSTER_INCREMENT in the hard_config.h file
    4545#endif
    4646
     
    7575    // compute base address
    7676    unsigned int* mwr_address = (unsigned int*) ( SEG_MWR_BASE +
    77                                  (cluster_xy * VSEG_CLUSTER_INCREMENT) );
     77                                 (cluster_xy * PERI_CLUSTER_INCREMENT) );
    7878
    7979    unsigned int lsb = (unsigned int)channel_pbase;
Note: See TracChangeset for help on using the changeset viewer.