17 lines
490 B
C++
17 lines
490 B
C++
#include "utility.h"
|
|
|
|
#include <OBSWVersion.h>
|
|
|
|
#include "fsfw/serviceinterface.h"
|
|
|
|
void utility::commonInitPrint(const char* const os, const char* const board) {
|
|
if (os == nullptr or board == nullptr) {
|
|
return;
|
|
}
|
|
fmt::print("-- FSFW Example ({}) v{}.{}.{} --\n", os, FSFW_EXAMPLE_VERSION,
|
|
FSFW_EXAMPLE_SUBVERSION, FSFW_EXAMPLE_REVISION);
|
|
fmt::print("-- Compiled for {}\n", board);
|
|
fmt::print("-- Compiled on {} {}\n", __DATE__, __TIME__);
|
|
sif::initialize();
|
|
}
|