Skip to content
Snippets Groups Projects
Commit 6aa98d0e authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

changed errorFlags map type to use the TecErrorCode enum

parent d617a4fc
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,8 @@
#include <tec/TecFrame.h>
#include "TecErrorCode.h"
struct TecDummy : ChimeraTK::DummyBackend {
TecDummy(std::string mapFileName) : DummyBackend(mapFileName) {}
~TecDummy() override {}
......@@ -42,7 +44,7 @@ struct TecDummy : ChimeraTK::DummyBackend {
// Map containin error flags which will be sent back as a reply during the next communication for the given parameter.
// A value of zero or the absense of a value results in no error being generated.
std::map<TecFrame::TecParameter, uint8_t> errorFlags;
std::map<TecFrame::TecParameter, TecErrorCode> errorFlags;
protected:
// hardcoded addresses used by the dummy, need to match addresses of map file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment