clean up the dependency mess
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -3,7 +3,23 @@
|
||||
|
||||
#include "fsfw/platform.h"
|
||||
|
||||
#ifdef PLATFORM_WIN
|
||||
#ifdef PLATFORM_UNIX
|
||||
|
||||
// I really don't want to pull in all of those GomSpace headers just for 6 constants..
|
||||
// Those are the headers which contain the defines which were just hardcoded below.
|
||||
|
||||
//#include "p60acu_hk.h"
|
||||
//#include "p60acu_param.h"
|
||||
//#include "p60dock_hk.h"
|
||||
//#include "p60dock_param.h"
|
||||
//#include "p60pdu_hk.h"
|
||||
//#include "p60pdu_param.h"
|
||||
|
||||
#endif
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
namespace gsConstants {
|
||||
|
||||
static constexpr uint32_t P60DOCK_HK_SIZE = 0xBE;
|
||||
static constexpr uint32_t P60DOCK_PARAM_SIZE = 0x19C;
|
||||
@ -12,15 +28,6 @@ static constexpr uint32_t P60PDU_PARAM_SIZE = 0x13E;
|
||||
static constexpr uint32_t P60ACU_HK_SIZE = 0x7C;
|
||||
static constexpr uint32_t P60ACU_PARAM_SIZE = 0x1B;
|
||||
|
||||
#else
|
||||
|
||||
#include "p60acu_hk.h"
|
||||
#include "p60acu_param.h"
|
||||
#include "p60dock_hk.h"
|
||||
#include "p60dock_param.h"
|
||||
#include "p60pdu_hk.h"
|
||||
#include "p60pdu_param.h"
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* MISSION_DEVICES_DEVICEDEFINITIONS_GOMSPACEDEFINES_H_ */
|
||||
|
Reference in New Issue
Block a user