...
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#include <spdlog/sinks/stdout_color_sinks.h>
|
||||
|
||||
#include "../mcc_mount.h"
|
||||
#include "../mcc_mount_events_states.h"
|
||||
|
||||
@@ -7,9 +9,12 @@ int tests_mount(int, char**)
|
||||
|
||||
using mount_t = MccMount<MccMountConfig<MccMountType::CROSSAXIS_TYPE>, MccMountTelemetry>;
|
||||
|
||||
mount_t mount(MccMountStateIDLE<mount_t>{});
|
||||
auto logger = spdlog::stdout_color_mt("MOUNT");
|
||||
logger->set_level(spdlog::level::debug);
|
||||
|
||||
mount_t mount(MccMountStateIDLE<mount_t>{}, logger);
|
||||
|
||||
mount.dispatchEvent(MccMountEventInit<mount_t>{mount});
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user