Generation working and Compilation of MARTe components
This commit is contained in:
15
EC-GN-JA-PCF/target/main/c++/Gyrotron02DAN/sdd-dan.cpp
Normal file
15
EC-GN-JA-PCF/target/main/c++/Gyrotron02DAN/sdd-dan.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "sdd-dan.h"
|
||||
#include <log.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
int declareDANStruct(dan_Source ds ){
|
||||
|
||||
int result=0;
|
||||
int Cnt=0;
|
||||
if(ds==NULL){
|
||||
log_error("Invalid call to declareDANStruct, dan source not initialized \n ");
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user