Changeset 45 in flair-src for trunk/lib/FlairSensorActuator/src


Ignore:
Timestamp:
07/18/16 16:13:56 (8 years ago)
Author:
Sanahuja Guillaume
Message:

added compile info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/Bldc.cpp

    r15 r45  
    2121#include <DoubleSpinBox.h>
    2222#include <sstream>
     23#include "compile_info.h"
     24
     25//todo: put it on seprate file, but not possible with static lib?
     26static void constructor() __attribute__((constructor));
     27
     28void constructor() {
     29  compile_info("FlairSensorActuator");
     30}
    2331
    2432using std::string;
Note: See TracChangeset for help on using the changeset viewer.