Changeset 268 in flair-src for trunk/lib/FlairMeta/src/UavFactory.cpp


Ignore:
Timestamp:
10/04/18 13:49:49 (6 years ago)
Author:
Sanahuja Guillaume
Message:

add defines for architectures to speed up compile time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairMeta/src/UavFactory.cpp

    r157 r268  
    5757  }
    5858
     59#ifdef ARMV7A
    5960  if (type == "hds_x4") {
    6061    getFrameworkManager()->Err("UAV type %s not yet implemented\n", type.c_str());
     
    6768    getFrameworkManager()->Err("UAV type %s not yet implemented\n", type.c_str());
    6869    return NULL;
    69   } else if (type.compare(0, 7, "x4_simu") == 0) {
     70  } else {
     71    getFrameworkManager()->Err("UAV type %s unknown\n", type.c_str());
     72    return NULL;
     73  }
     74#endif
     75#ifdef CORE2_64
     76  if (type.compare(0, 7, "x4_simu") == 0) {
    7077    int simu_id = 0;
    7178    if (type.size() > 7) {
     
    8390    return NULL;
    8491  }
     92#endif
    8593}
    8694
Note: See TracChangeset for help on using the changeset viewer.