Changeset 659 for trunk/user/fft


Ignore:
Timestamp:
Oct 10, 2020, 3:58:01 PM (4 years ago)
Author:
alain
Message:

euh...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/fft/fft.c

    r656 r659  
    290290
    291291    // get platform parameters
    292     if( get_config( &x_size , &y_size , &ncores ) )
     292    hard_config_t  config;
     293    if( get_config( &config ) )
    293294    {
    294295        printf("\n[fft error] cannot get hardware configuration\n");
    295296        exit( 0 );
    296297    }
     298
     299    x_size = config.x_size;
     300    y_size = config.y_size;
     301    ncores = config.ncores;
    297302
    298303    // check ncores
Note: See TracChangeset for help on using the changeset viewer.