Changeset 214 in flair-src for trunk/tools/FlairGCS/src/file_ui.cpp


Ignore:
Timestamp:
Feb 7, 2018, 5:49:27 PM (7 years ago)
Author:
Sanahuja Guillaume
Message:

matrix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/file_ui.cpp

    r51 r214  
    193193        uint8_t *value = (uint8_t *)(data + offset);
    194194        offset += sizeof(uint8_t);
     195        out << "," << *value;
     196      } else if (data_type.at(i) == "int16_t)") {
     197        int16_t *value = (int16_t *)(data + offset);
     198        offset += sizeof(int16_t);
     199        out << "," << *value;
     200      } else if (data_type.at(i) == "uint16_t)") {
     201        uint16_t *value = (uint16_t *)(data + offset);
     202        offset += sizeof(uint16_t);
    195203        out << "," << *value;
    196204      } else {
Note: See TracChangeset for help on using the changeset viewer.