fixed includes

This commit is contained in:
Robin Müller 2020-09-16 19:37:17 +02:00
parent 963015513f
commit b0a816490e
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
#include <fsfw/timemanager/Clock.h> #include "TimeStamper.h"
#include <fsfw/timemanager/TimeStamper.h> #include "Clock.h"
#include <cstring> #include <cstring>
TimeStamper::TimeStamper(object_id_t objectId): SystemObject(objectId) {} TimeStamper::TimeStamper(object_id_t objectId): SystemObject(objectId) {}
@ -18,6 +18,6 @@ ReturnValue_t TimeStamper::addTimeStamp(uint8_t* buffer,
if(result != HasReturnvaluesIF::RETURN_OK){ if(result != HasReturnvaluesIF::RETURN_OK){
return result; return result;
} }
memcpy(buffer,&cds,sizeof(cds)); std::memcpy(buffer,&cds,sizeof(cds));
return result; return result;
} }

View File

@ -1,9 +1,9 @@
#ifndef FSFW_TIMEMANAGER_TIMESTAMPER_H_ #ifndef FSFW_TIMEMANAGER_TIMESTAMPER_H_
#define FSFW_TIMEMANAGER_TIMESTAMPER_H_ #define FSFW_TIMEMANAGER_TIMESTAMPER_H_
#include <fsfw/timemanager/TimeStamperIF.h> #include "TimeStamperIF.h"
#include <fsfw/timemanager/CCSDSTime.h> #include "CCSDSTime.h"
#include <fsfw/objectmanager/SystemObject.h> #include "../objectmanager/SystemObject.h"
/** /**
* @brief Time stamper which can be used to add any timestamp to a * @brief Time stamper which can be used to add any timestamp to a